Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>
@Generated("software.amazon.awssdk:codegen") public class CreatePolicyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>
The input for the CreatePolicy operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreatePolicyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreatePolicyRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
policyDocument() |
The JSON document that describes the policy.
|
String |
policyName() |
The policy name.
|
static Class<? extends CreatePolicyRequest.Builder> |
serializableBuilderClass() |
|
CreatePolicyRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String policyName()
The policy name.
public 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.
public CreatePolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePolicyRequest.Builder,CreatePolicyRequest>
public static CreatePolicyRequest.Builder builder()
public static Class<? extends CreatePolicyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.