CopyableBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>, SdkBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>public static interface CreatePolicyRequest.Builder extends CopyableBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>
| Modifier and Type | Method | Description |
|---|---|---|
CreatePolicyRequest.Builder |
policyDocument(String policyDocument) |
The JSON document that describes the policy.
|
CreatePolicyRequest.Builder |
policyName(String policyName) |
The policy name.
|
copyapply, buildCreatePolicyRequest.Builder policyName(String policyName)
The policy name.
policyName - The policy name.CreatePolicyRequest.Builder policyDocument(String policyDocument)
The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.
policyDocument - The JSON document that describes the policy. policyDocument must have a minimum length of 1,
with a maximum length of 2048, excluding whitespace.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.