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, and date and time should be separated by T. 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, and date and time should be separated by T.
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 method that creates an instance of theAwsIamInstanceProfileRole.Builder avoiding the need
to create one manually via
AwsIamInstanceProfileRole.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
AwsIamInstanceProfileRole.Builder#roles(java.util.Collection) Copyright © 2023. All rights reserved.