Interface AwsIamPolicyDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsIamPolicyDetails.Builder,AwsIamPolicyDetails>,SdkBuilder<AwsIamPolicyDetails.Builder,AwsIamPolicyDetails>,SdkPojo
- Enclosing class:
- AwsIamPolicyDetails
public static interface AwsIamPolicyDetails.Builder extends SdkPojo, CopyableBuilder<AwsIamPolicyDetails.Builder,AwsIamPolicyDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsIamPolicyDetails.BuilderattachmentCount(Integer attachmentCount)The number of users, groups, and roles that the policy is attached to.AwsIamPolicyDetails.BuildercreateDate(String createDate)When the policy was created.AwsIamPolicyDetails.BuilderdefaultVersionId(String defaultVersionId)The identifier of the default version of the policy.AwsIamPolicyDetails.Builderdescription(String description)A description of the policy.AwsIamPolicyDetails.BuilderisAttachable(Boolean isAttachable)Whether the policy can be attached to a user, group, or role.AwsIamPolicyDetails.Builderpath(String path)The path to the policy.AwsIamPolicyDetails.BuilderpermissionsBoundaryUsageCount(Integer permissionsBoundaryUsageCount)The number of users and roles that use the policy to set the permissions boundary.AwsIamPolicyDetails.BuilderpolicyId(String policyId)The unique identifier of the policy.AwsIamPolicyDetails.BuilderpolicyName(String policyName)The name of the policy.AwsIamPolicyDetails.BuilderpolicyVersionList(Collection<AwsIamPolicyVersion> policyVersionList)List of versions of the policy.AwsIamPolicyDetails.BuilderpolicyVersionList(Consumer<AwsIamPolicyVersion.Builder>... policyVersionList)List of versions of the policy.AwsIamPolicyDetails.BuilderpolicyVersionList(AwsIamPolicyVersion... policyVersionList)List of versions of the policy.AwsIamPolicyDetails.BuilderupdateDate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attachmentCount
AwsIamPolicyDetails.Builder attachmentCount(Integer 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
AwsIamPolicyDetails.Builder createDate(String createDate)
When 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.
-
defaultVersionId
AwsIamPolicyDetails.Builder defaultVersionId(String 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
AwsIamPolicyDetails.Builder description(String 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
AwsIamPolicyDetails.Builder isAttachable(Boolean 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
AwsIamPolicyDetails.Builder path(String 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
AwsIamPolicyDetails.Builder permissionsBoundaryUsageCount(Integer 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
AwsIamPolicyDetails.Builder policyId(String 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
AwsIamPolicyDetails.Builder policyName(String 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
AwsIamPolicyDetails.Builder policyVersionList(Collection<AwsIamPolicyVersion> 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(AwsIamPolicyVersion... 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.Builderavoiding the need to create one manually viaAwsIamPolicyVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyVersionList(List.) - 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:
#policyVersionList(java.util.Collection)
-
updateDate
AwsIamPolicyDetails.Builder updateDate(String updateDate)
When 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.
-
-