public static interface InstanceProfile.Builder extends SdkPojo, 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(Consumer<Role.Builder>... roles)
The role associated with the instance profile.
|
InstanceProfile.Builder |
roles(Role... roles)
The role associated with the instance profile.
|
InstanceProfile.Builder |
tags(Collection<Tag> tags)
A list of tags that are attached to the instance profile.
|
InstanceProfile.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the instance profile.
|
InstanceProfile.Builder |
tags(Tag... tags)
A list of tags that are attached to the instance profile.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceProfile.Builder path(String path)
The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
path - The path to the instance profile. For more information about paths, see IAM identifiers in
the IAM User 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 IAM User Guide.
instanceProfileId - The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in
the IAM User 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 IAM User 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 IAM User 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.InstanceProfile.Builder roles(Consumer<Role.Builder>... roles)
The role associated with the instance profile.
This is a convenience method that creates an instance of theRole.Builder avoiding the need to create one manually via
Role.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #roles(List.
roles - a consumer that will call methods on Role.Builder#roles(java.util.Collection) InstanceProfile.Builder tags(Collection<Tag> tags)
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.InstanceProfile.Builder tags(Tag... tags)
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.InstanceProfile.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.