CopyableBuilder<RoleDetail.Builder,RoleDetail>
, SdkBuilder<RoleDetail.Builder,RoleDetail>
public static interface RoleDetail.Builder extends CopyableBuilder<RoleDetail.Builder,RoleDetail>
Modifier and Type | Method | Description |
---|---|---|
RoleDetail.Builder |
arn(String arn) |
|
RoleDetail.Builder |
assumeRolePolicyDocument(String assumeRolePolicyDocument) |
The trust policy that grants permission to assume the role.
|
RoleDetail.Builder |
attachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies) |
A list of managed policies attached to the role.
|
RoleDetail.Builder |
attachedManagedPolicies(AttachedPolicy... attachedManagedPolicies) |
A list of managed policies attached to the role.
|
RoleDetail.Builder |
createDate(Date createDate) |
The date and time, in ISO 8601 date-time format, when the role
was created.
|
RoleDetail.Builder |
instanceProfileList(Collection<InstanceProfile> instanceProfileList) |
A list of instance profiles that contain this role.
|
RoleDetail.Builder |
instanceProfileList(InstanceProfile... instanceProfileList) |
A list of instance profiles that contain this role.
|
RoleDetail.Builder |
path(String path) |
The path to the role.
|
RoleDetail.Builder |
roleId(String roleId) |
The stable and unique string identifying the role.
|
RoleDetail.Builder |
roleName(String roleName) |
The friendly name that identifies the role.
|
RoleDetail.Builder |
rolePolicyList(Collection<PolicyDetail> rolePolicyList) |
A list of inline policies embedded in the role.
|
RoleDetail.Builder |
rolePolicyList(PolicyDetail... rolePolicyList) |
A list of inline policies embedded in the role.
|
copy
apply, build
RoleDetail.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.RoleDetail.Builder roleName(String roleName)
The friendly name that identifies the role.
roleName
- The friendly name that identifies the role.RoleDetail.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.RoleDetail.Builder arn(String arn)
arn
- RoleDetail.Builder createDate(Date 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.RoleDetail.Builder assumeRolePolicyDocument(String assumeRolePolicyDocument)
The trust policy that grants permission to assume the role.
assumeRolePolicyDocument
- The trust policy that grants permission to assume the role.RoleDetail.Builder instanceProfileList(Collection<InstanceProfile> instanceProfileList)
A list of instance profiles that contain this role.
instanceProfileList
- A list of instance profiles that contain this role.RoleDetail.Builder instanceProfileList(InstanceProfile... instanceProfileList)
A list of instance profiles that contain this role.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceProfileList(java.util.Collection)
or
#withInstanceProfileList(java.util.Collection)
if you want to override the existing values.
instanceProfileList
- A list of instance profiles that contain this role.RoleDetail.Builder rolePolicyList(Collection<PolicyDetail> rolePolicyList)
A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
rolePolicyList
- A list of inline policies embedded in the role. These policies are the role's access (permissions)
policies.RoleDetail.Builder rolePolicyList(PolicyDetail... rolePolicyList)
A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
NOTE: This method appends the values to the existing list (if any). Use
#setRolePolicyList(java.util.Collection)
or #withRolePolicyList(java.util.Collection)
if you
want to override the existing values.
rolePolicyList
- A list of inline policies embedded in the role. These policies are the role's access (permissions)
policies.RoleDetail.Builder attachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
attachedManagedPolicies
- A list of managed policies attached to the role. These policies are the role's access (permissions)
policies.RoleDetail.Builder attachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
NOTE: This method appends the values to the existing list (if any). Use
#setAttachedManagedPolicies(java.util.Collection)
or
#withAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.
attachedManagedPolicies
- A list of managed policies attached to the role. These policies are the role's access (permissions)
policies.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.