public static interface Role.Builder extends CopyableBuilder<Role.Builder,Role>
Modifier and Type | Method and Description |
---|---|
Role.Builder |
arn(String arn)
The Amazon Resource Name (ARN) specifying the role.
|
Role.Builder |
assumeRolePolicyDocument(String assumeRolePolicyDocument)
The policy that grants an entity permission to assume the role.
|
Role.Builder |
createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the role
was created.
|
Role.Builder |
description(String description)
A description of the role that you provide.
|
Role.Builder |
path(String path)
The path to the role.
|
Role.Builder |
roleId(String roleId)
The stable and unique string identifying the role.
|
Role.Builder |
roleName(String roleName)
The friendly name that identifies the role.
|
copy
apply, build
Role.Builder path(String path)
The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the role. For more information about paths, see IAM Identifiers in
the Using IAM guide.Role.Builder roleName(String roleName)
The friendly name that identifies the role.
roleName
- The friendly name that identifies the role.Role.Builder roleId(String roleId)
The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.
roleId
- The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in
the Using IAM guide.Role.Builder arn(String arn)
The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.
arn
- The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use
them in policies, see IAM Identifiers in
the IAM User Guide guide.Role.Builder createDate(Instant createDate)
The date and time, in ISO 8601 date-time format, when the role was created.
createDate
- The date and time, in ISO 8601 date-time format, when the
role was created.Role.Builder assumeRolePolicyDocument(String assumeRolePolicyDocument)
The policy that grants an entity permission to assume the role.
assumeRolePolicyDocument
- The policy that grants an entity permission to assume the role.Role.Builder description(String description)
A description of the role that you provide.
description
- A description of the role that you provide.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.