Interface AwsIamPolicyDetails.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AwsIamPolicyDetails.Builder,,- AwsIamPolicyDetails> - SdkBuilder<AwsIamPolicyDetails.Builder,,- AwsIamPolicyDetails> - SdkPojo
- Enclosing class:
- AwsIamPolicyDetails
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
attachmentCountThe 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.
 
- 
createDateWhen the policy was created. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. - Parameters:
- createDate- When the policy was created.- For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultVersionIdThe 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.
 
- 
descriptionA 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.
 
- 
isAttachableWhether 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.
 
- 
pathThe 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.
 
- 
permissionsBoundaryUsageCountThe 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.
 
- 
policyIdThe 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.
 
- 
policyNameThe 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.
 
- 
policyVersionListList 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.
 
- 
policyVersionListList 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.
 
- 
policyVersionListAwsIamPolicyDetails.Builder policyVersionList(Consumer<AwsIamPolicyVersion.Builder>... policyVersionList) List of versions of the policy. This is a convenience method that creates an instance of theAwsIamPolicyVersion.Builderavoiding the need to create one manually viaAwsIamPolicyVersion.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyVersionList(List<AwsIamPolicyVersion>).- Parameters:
- policyVersionList- a consumer that will call methods on- AwsIamPolicyVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
updateDateWhen the policy was most recently updated. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. - Parameters:
- updateDate- When the policy was most recently updated.- For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-