public static interface IamInstanceProfileAssociation.Builder extends SdkPojo, CopyableBuilder<IamInstanceProfileAssociation.Builder,IamInstanceProfileAssociation>
Modifier and Type | Method and Description |
---|---|
IamInstanceProfileAssociation.Builder |
associationId(String associationId)
The ID of the association.
|
default IamInstanceProfileAssociation.Builder |
iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile.
|
IamInstanceProfileAssociation.Builder |
iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile.
|
IamInstanceProfileAssociation.Builder |
instanceId(String instanceId)
The ID of the instance.
|
IamInstanceProfileAssociation.Builder |
state(IamInstanceProfileAssociationState state)
The state of the association.
|
IamInstanceProfileAssociation.Builder |
state(String state)
The state of the association.
|
IamInstanceProfileAssociation.Builder |
timestamp(Instant timestamp)
The time the IAM instance profile was associated with the instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
IamInstanceProfileAssociation.Builder associationId(String associationId)
The ID of the association.
associationId
- The ID of the association.IamInstanceProfileAssociation.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.IamInstanceProfileAssociation.Builder iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.default IamInstanceProfileAssociation.Builder iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile.
This is a convenience that creates an instance of theIamInstanceProfile.Builder
avoiding the need to
create one manually via IamInstanceProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to iamInstanceProfile(IamInstanceProfile)
.iamInstanceProfile
- a consumer that will call methods on IamInstanceProfile.Builder
iamInstanceProfile(IamInstanceProfile)
IamInstanceProfileAssociation.Builder state(String state)
The state of the association.
state
- The state of the association.IamInstanceProfileAssociationState
,
IamInstanceProfileAssociationState
IamInstanceProfileAssociation.Builder state(IamInstanceProfileAssociationState state)
The state of the association.
state
- The state of the association.IamInstanceProfileAssociationState
,
IamInstanceProfileAssociationState
IamInstanceProfileAssociation.Builder timestamp(Instant timestamp)
The time the IAM instance profile was associated with the instance.
timestamp
- The time the IAM instance profile was associated with the instance.Copyright © 2019. All rights reserved.