Interface CreatePolicyVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
,IotRequest.Builder
,SdkBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreatePolicyVersionRequest
public static interface CreatePolicyVersionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePolicyVersionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreatePolicyVersionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreatePolicyVersionRequest.Builder
policyDocument(String policyDocument)
The JSON document that describes the policy.CreatePolicyVersionRequest.Builder
policyName(String policyName)
The policy name.CreatePolicyVersionRequest.Builder
setAsDefault(Boolean setAsDefault)
Specifies whether the policy version is set as the default.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyName
CreatePolicyVersionRequest.Builder policyName(String policyName)
The policy name.
- Parameters:
policyName
- The policy name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
CreatePolicyVersionRequest.Builder policyDocument(String policyDocument)
The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
- Parameters:
policyDocument
- The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAsDefault
CreatePolicyVersionRequest.Builder setAsDefault(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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePolicyVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-