public static interface SetDefaultPolicyVersionRequest.Builder extends IamRequest.Builder, CopyableBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>
Modifier and Type | Method and Description |
---|---|
SetDefaultPolicyVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetDefaultPolicyVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SetDefaultPolicyVersionRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
|
SetDefaultPolicyVersionRequest.Builder |
versionId(String versionId)
The version of the policy to set as the default (operative) version.
|
build
overrideConfiguration
copy
applyMutation, build
SetDefaultPolicyVersionRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
SetDefaultPolicyVersionRequest.Builder versionId(String versionId)
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versionId
- The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
SetDefaultPolicyVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetDefaultPolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.