CopyableBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>
, SdkBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>
public static interface SetDefaultPolicyVersionRequest.Builder extends CopyableBuilder<SetDefaultPolicyVersionRequest.Builder,SetDefaultPolicyVersionRequest>
Modifier and Type | Method | Description |
---|---|---|
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.
|
copy
apply, 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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.