| Package | Description |
|---|---|
| software.amazon.awssdk.services.iam.model |
| Modifier and Type | Method and Description |
|---|---|
Role.Builder |
Role.Builder.arn(String arn)
The Amazon Resource Name (ARN) specifying the role.
|
Role.Builder |
Role.Builder.assumeRolePolicyDocument(String assumeRolePolicyDocument)
The policy that grants an entity permission to assume the role.
|
static Role.Builder |
Role.builder() |
Role.Builder |
Role.Builder.createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the role
was created.
|
Role.Builder |
Role.Builder.description(String description)
A description of the role that you provide.
|
Role.Builder |
Role.Builder.maxSessionDuration(Integer maxSessionDuration)
The maximum session duration (in seconds) for the specified role.
|
Role.Builder |
Role.Builder.path(String path)
The path to the role.
|
Role.Builder |
Role.Builder.permissionsBoundary(AttachedPermissionsBoundary permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the role.
|
default Role.Builder |
Role.Builder.permissionsBoundary(Consumer<AttachedPermissionsBoundary.Builder> permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the role.
|
Role.Builder |
Role.Builder.roleId(String roleId)
The stable and unique string identifying the role.
|
default Role.Builder |
Role.Builder.roleLastUsed(Consumer<RoleLastUsed.Builder> roleLastUsed)
Contains information about the last time that an IAM role was used.
|
Role.Builder |
Role.Builder.roleLastUsed(RoleLastUsed roleLastUsed)
Contains information about the last time that an IAM role was used.
|
Role.Builder |
Role.Builder.roleName(String roleName)
The friendly name that identifies the role.
|
Role.Builder |
Role.Builder.tags(Collection<Tag> tags)
A list of tags that are attached to the role.
|
Role.Builder |
Role.Builder.tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the role.
|
Role.Builder |
Role.Builder.tags(Tag... tags)
A list of tags that are attached to the role.
|
Role.Builder |
Role.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Role.Builder> |
Role.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default CreateServiceLinkedRoleResponse.Builder |
CreateServiceLinkedRoleResponse.Builder.role(Consumer<Role.Builder> role)
A Role object that contains details about the newly created role.
|
default GetRoleResponse.Builder |
GetRoleResponse.Builder.role(Consumer<Role.Builder> role)
A structure containing details about the IAM role.
|
default UpdateRoleDescriptionResponse.Builder |
UpdateRoleDescriptionResponse.Builder.role(Consumer<Role.Builder> role)
A structure that contains details about the modified role.
|
default CreateRoleResponse.Builder |
CreateRoleResponse.Builder.role(Consumer<Role.Builder> role)
A structure containing details about the new role.
|
Copyright © 2022. All rights reserved.