public static interface DeletePolicyVersionRequest.Builder extends IAMRequest.Builder, CopyableBuilder<DeletePolicyVersionRequest.Builder,DeletePolicyVersionRequest>
Modifier and Type | Method and Description |
---|---|
DeletePolicyVersionRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
|
DeletePolicyVersionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DeletePolicyVersionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DeletePolicyVersionRequest.Builder |
versionId(String versionId)
The policy version to delete.
|
build
requestOverrideConfig
copy
apply, build
DeletePolicyVersionRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
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 from which you want to delete a version.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
DeletePolicyVersionRequest.Builder versionId(String versionId)
The policy version to delete.
This parameter allows (per its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versionId
- The policy version to delete.
This parameter allows (per its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
DeletePolicyVersionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DeletePolicyVersionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.