public static interface ManagedPolicyDetail.Builder extends SdkPojo, CopyableBuilder<ManagedPolicyDetail.Builder,ManagedPolicyDetail>
Modifier and Type | Method and Description |
---|---|
ManagedPolicyDetail.Builder |
arn(String arn)
Sets the value of the Arn property for this object.
|
ManagedPolicyDetail.Builder |
attachmentCount(Integer attachmentCount)
The number of principal entities (users, groups, and roles) that the policy is attached to.
|
ManagedPolicyDetail.Builder |
createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the policy
was created.
|
ManagedPolicyDetail.Builder |
defaultVersionId(String defaultVersionId)
The identifier for the version of the policy that is set as the default (operative) version.
|
ManagedPolicyDetail.Builder |
description(String description)
A friendly description of the policy.
|
ManagedPolicyDetail.Builder |
isAttachable(Boolean isAttachable)
Specifies whether the policy can be attached to an IAM user, group, or role.
|
ManagedPolicyDetail.Builder |
path(String path)
The path to the policy.
|
ManagedPolicyDetail.Builder |
permissionsBoundaryUsageCount(Integer permissionsBoundaryUsageCount)
The number of entities (users and roles) for which the policy is used as the permissions boundary.
|
ManagedPolicyDetail.Builder |
policyId(String policyId)
The stable and unique string identifying the policy.
|
ManagedPolicyDetail.Builder |
policyName(String policyName)
The friendly name (not ARN) identifying the policy.
|
ManagedPolicyDetail.Builder |
policyVersionList(Collection<PolicyVersion> policyVersionList)
A list containing information about the versions of the policy.
|
ManagedPolicyDetail.Builder |
policyVersionList(Consumer<PolicyVersion.Builder>... policyVersionList)
A list containing information about the versions of the policy.
|
ManagedPolicyDetail.Builder |
policyVersionList(PolicyVersion... policyVersionList)
A list containing information about the versions of the policy.
|
ManagedPolicyDetail.Builder |
updateDate(Instant updateDate)
The date and time, in ISO 8601 date-time format, when the policy
was last updated.
|
copy
applyMutation, build
ManagedPolicyDetail.Builder policyName(String policyName)
The friendly name (not ARN) identifying the policy.
policyName
- The friendly name (not ARN) identifying the policy.ManagedPolicyDetail.Builder policyId(String policyId)
The stable and unique string identifying the policy.
For more information about IDs, see IAM Identifiers in the Using IAM guide.
policyId
- The stable and unique string identifying the policy.
For more information about IDs, see IAM Identifiers in the Using IAM guide.
ManagedPolicyDetail.Builder arn(String arn)
arn
- The new value for the Arn property for this object.ManagedPolicyDetail.Builder path(String path)
The path to the policy.
For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the policy.
For more information about paths, see IAM Identifiers in the Using IAM guide.
ManagedPolicyDetail.Builder defaultVersionId(String defaultVersionId)
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide.
defaultVersionId
- The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide.
ManagedPolicyDetail.Builder attachmentCount(Integer attachmentCount)
The number of principal entities (users, groups, and roles) that the policy is attached to.
attachmentCount
- The number of principal entities (users, groups, and roles) that the policy is attached to.ManagedPolicyDetail.Builder permissionsBoundaryUsageCount(Integer permissionsBoundaryUsageCount)
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
permissionsBoundaryUsageCount
- The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
ManagedPolicyDetail.Builder isAttachable(Boolean isAttachable)
Specifies whether the policy can be attached to an IAM user, group, or role.
isAttachable
- Specifies whether the policy can be attached to an IAM user, group, or role.ManagedPolicyDetail.Builder description(String description)
A friendly description of the policy.
description
- A friendly description of the policy.ManagedPolicyDetail.Builder createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the policy was created.
createDate
- The date and time, in ISO 8601 date-time format, when the
policy was created.ManagedPolicyDetail.Builder updateDate(Instant updateDate)
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
updateDate
- The date and time, in ISO 8601 date-time format, when the
policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
ManagedPolicyDetail.Builder policyVersionList(Collection<PolicyVersion> policyVersionList)
A list containing information about the versions of the policy.
policyVersionList
- A list containing information about the versions of the policy.ManagedPolicyDetail.Builder policyVersionList(PolicyVersion... policyVersionList)
A list containing information about the versions of the policy.
policyVersionList
- A list containing information about the versions of the policy.ManagedPolicyDetail.Builder policyVersionList(Consumer<PolicyVersion.Builder>... policyVersionList)
A list containing information about the versions of the policy.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #policyVersionList(List)
.policyVersionList
- a consumer that will call methods on List.Builder
#policyVersionList(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.