| Package | Description |
|---|---|
| software.amazon.awssdk.services.iam.model |
| Modifier and Type | Method and Description |
|---|---|
Policy.Builder |
Policy.Builder.arn(String arn)
Sets the value of the Arn property for this object.
|
Policy.Builder |
Policy.Builder.attachmentCount(Integer attachmentCount)
The number of entities (users, groups, and roles) that the policy is attached to.
|
static Policy.Builder |
Policy.builder() |
Policy.Builder |
Policy.Builder.createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the policy
was created.
|
Policy.Builder |
Policy.Builder.defaultVersionId(String defaultVersionId)
The identifier for the version of the policy that is set as the default version.
|
Policy.Builder |
Policy.Builder.description(String description)
A friendly description of the policy.
|
Policy.Builder |
Policy.Builder.isAttachable(Boolean isAttachable)
Specifies whether the policy can be attached to an IAM user, group, or role.
|
Policy.Builder |
Policy.Builder.path(String path)
The path to the policy.
|
Policy.Builder |
Policy.Builder.permissionsBoundaryUsageCount(Integer permissionsBoundaryUsageCount)
The number of entities (users and roles) for which the policy is used to set the permissions boundary.
|
Policy.Builder |
Policy.Builder.policyId(String policyId)
The stable and unique string identifying the policy.
|
Policy.Builder |
Policy.Builder.policyName(String policyName)
The friendly name (not ARN) identifying the policy.
|
Policy.Builder |
Policy.Builder.tags(Collection<Tag> tags)
A list of tags that are attached to the instance profile.
|
Policy.Builder |
Policy.Builder.tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the instance profile.
|
Policy.Builder |
Policy.Builder.tags(Tag... tags)
A list of tags that are attached to the instance profile.
|
Policy.Builder |
Policy.toBuilder() |
Policy.Builder |
Policy.Builder.updateDate(Instant updateDate)
The date and time, in ISO 8601 date-time format, when the policy
was last updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Policy.Builder> |
Policy.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default GetPolicyResponse.Builder |
GetPolicyResponse.Builder.policy(Consumer<Policy.Builder> policy)
A structure containing details about the policy.
|
default CreatePolicyResponse.Builder |
CreatePolicyResponse.Builder.policy(Consumer<Policy.Builder> policy)
A structure containing details about the new policy.
|
Copyright © 2023. All rights reserved.