Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
@Generated("software.amazon.awssdk:codegen") public class CreatePolicyVersionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
The input for the CreatePolicyVersion operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreatePolicyVersionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreatePolicyVersionRequest.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 CreatePolicyVersionRequest.Builder> |
serializableBuilderClass() |
|
Boolean |
setAsDefault() |
Specifies whether the policy version is set as the default.
|
CreatePolicyVersionRequest.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. Minimum length of 1. Maximum length of 2048, excluding whitespaces
public Boolean setAsDefault()
Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
public CreatePolicyVersionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
public static CreatePolicyVersionRequest.Builder builder()
public static Class<? extends CreatePolicyVersionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.