Interface AwsIamPolicyDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsIamPolicyDetails.Builder,
,AwsIamPolicyDetails> SdkBuilder<AwsIamPolicyDetails.Builder,
,AwsIamPolicyDetails> SdkPojo
- Enclosing class:
AwsIamPolicyDetails
-
Method Summary
Modifier and TypeMethodDescriptionattachmentCount
(Integer attachmentCount) The number of users, groups, and roles that the policy is attached to.createDate
(String createDate) When the policy was created.defaultVersionId
(String defaultVersionId) The identifier of the default version of the policy.description
(String description) A description of the policy.isAttachable
(Boolean isAttachable) Whether the policy can be attached to a user, group, or role.The path to the policy.permissionsBoundaryUsageCount
(Integer permissionsBoundaryUsageCount) The number of users and roles that use the policy to set the permissions boundary.The unique identifier of the policy.policyName
(String policyName) The name of the policy.policyVersionList
(Collection<AwsIamPolicyVersion> policyVersionList) List of versions of the policy.policyVersionList
(Consumer<AwsIamPolicyVersion.Builder>... policyVersionList) List of versions of the policy.policyVersionList
(AwsIamPolicyVersion... policyVersionList) List of versions of the policy.updateDate
(String updateDate) When the policy was most recently updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
attachmentCount
The number of users, groups, and roles that the policy is attached to.
- Parameters:
attachmentCount
- The number of users, groups, and roles that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
When the policy was created.
Uses the
date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Parameters:
createDate
- When the policy was created.Uses the
date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersionId
The identifier of the default version of the policy.
- Parameters:
defaultVersionId
- The identifier of the default version of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the policy.
- Parameters:
description
- A description of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAttachable
Whether the policy can be attached to a user, group, or role.
- Parameters:
isAttachable
- Whether the policy can be attached to a user, group, or role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path to the policy.
- Parameters:
path
- The path to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsBoundaryUsageCount
The number of users and roles that use the policy to set the permissions boundary.
- Parameters:
permissionsBoundaryUsageCount
- The number of users and roles that use the policy to set the permissions boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyId
The unique identifier of the policy.
- Parameters:
policyId
- The unique identifier of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
The name of the policy.
- Parameters:
policyName
- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionList
List of versions of the policy.
- Parameters:
policyVersionList
- List of versions of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionList
List of versions of the policy.
- Parameters:
policyVersionList
- List of versions of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionList
AwsIamPolicyDetails.Builder policyVersionList(Consumer<AwsIamPolicyVersion.Builder>... policyVersionList) List of versions of the policy.
This is a convenience method that creates an instance of theAwsIamPolicyVersion.Builder
avoiding the need to create one manually viaAwsIamPolicyVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyVersionList(List<AwsIamPolicyVersion>)
.- Parameters:
policyVersionList
- a consumer that will call methods onAwsIamPolicyVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateDate
When the policy was most recently updated.
Uses the
date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Parameters:
updateDate
- When the policy was most recently updated.Uses the
date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-