public static interface InstanceProfile.Builder extends CopyableBuilder<InstanceProfile.Builder,InstanceProfile>
Modifier and Type | Method and Description |
---|---|
InstanceProfile.Builder |
arn(String arn)
The Amazon Resource Name (ARN) specifying the instance profile.
|
InstanceProfile.Builder |
createDate(Instant createDate)
The date when the instance profile was created.
|
InstanceProfile.Builder |
instanceProfileId(String instanceProfileId)
The stable and unique string identifying the instance profile.
|
InstanceProfile.Builder |
instanceProfileName(String instanceProfileName)
The name identifying the instance profile.
|
InstanceProfile.Builder |
path(String path)
The path to the instance profile.
|
InstanceProfile.Builder |
roles(Collection<Role> roles)
The role associated with the instance profile.
|
InstanceProfile.Builder |
roles(Role... roles)
The role associated with the instance profile.
|
copy
apply, build
InstanceProfile.Builder path(String path)
The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the instance profile. For more information about paths, see IAM Identifiers in
the Using IAM guide.InstanceProfile.Builder instanceProfileName(String instanceProfileName)
The name identifying the instance profile.
instanceProfileName
- The name identifying the instance profile.InstanceProfile.Builder instanceProfileId(String instanceProfileId)
The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.
instanceProfileId
- The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in
the Using IAM guide.InstanceProfile.Builder arn(String arn)
The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
arn
- The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and
how to use them in policies, see IAM Identifiers in
the Using IAM guide.InstanceProfile.Builder createDate(Instant createDate)
The date when the instance profile was created.
createDate
- The date when the instance profile was created.InstanceProfile.Builder roles(Collection<Role> roles)
The role associated with the instance profile.
roles
- The role associated with the instance profile.InstanceProfile.Builder roles(Role... roles)
The role associated with the instance profile.
roles
- The role associated with the instance profile.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.