public static interface AwsIamInstanceProfile.Builder extends SdkPojo, CopyableBuilder<AwsIamInstanceProfile.Builder,AwsIamInstanceProfile>
| Modifier and Type | Method and Description |
|---|---|
AwsIamInstanceProfile.Builder |
arn(String arn)
The ARN of the instance profile.
|
AwsIamInstanceProfile.Builder |
createDate(String createDate)
Indicates when the instance profile was created.
|
AwsIamInstanceProfile.Builder |
instanceProfileId(String instanceProfileId)
The identifier of the instance profile.
|
AwsIamInstanceProfile.Builder |
instanceProfileName(String instanceProfileName)
The name of the instance profile.
|
AwsIamInstanceProfile.Builder |
path(String path)
The path to the instance profile.
|
AwsIamInstanceProfile.Builder |
roles(AwsIamInstanceProfileRole... roles)
The roles associated with the instance profile.
|
AwsIamInstanceProfile.Builder |
roles(Collection<AwsIamInstanceProfileRole> roles)
The roles associated with the instance profile.
|
AwsIamInstanceProfile.Builder |
roles(Consumer<AwsIamInstanceProfileRole.Builder>... roles)
The roles associated with the instance profile.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsIamInstanceProfile.Builder arn(String arn)
The ARN of the instance profile.
arn - The ARN of the instance profile.AwsIamInstanceProfile.Builder createDate(String createDate)
Indicates when the instance profile was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
createDate - Indicates when the instance profile was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
AwsIamInstanceProfile.Builder instanceProfileId(String instanceProfileId)
The identifier of the instance profile.
instanceProfileId - The identifier of the instance profile.AwsIamInstanceProfile.Builder instanceProfileName(String instanceProfileName)
The name of the instance profile.
instanceProfileName - The name of the instance profile.AwsIamInstanceProfile.Builder path(String path)
The path to the instance profile.
path - The path to the instance profile.AwsIamInstanceProfile.Builder roles(Collection<AwsIamInstanceProfileRole> roles)
The roles associated with the instance profile.
roles - The roles associated with the instance profile.AwsIamInstanceProfile.Builder roles(AwsIamInstanceProfileRole... roles)
The roles associated with the instance profile.
roles - The roles associated with the instance profile.AwsIamInstanceProfile.Builder roles(Consumer<AwsIamInstanceProfileRole.Builder>... roles)
The roles associated with the instance profile.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #roles(List) .roles - a consumer that will call methods on List.Builder #roles(List) Copyright © 2021. All rights reserved.