public static interface IamInstanceProfileAssociation.Builder extends 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.
|
copyapply, buildIamInstanceProfileAssociation.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.BuilderiamInstanceProfile(IamInstanceProfile)IamInstanceProfileAssociation.Builder state(String state)
The state of the association.
state - The state of the association.IamInstanceProfileAssociationState,
IamInstanceProfileAssociationStateIamInstanceProfileAssociation.Builder state(IamInstanceProfileAssociationState state)
The state of the association.
state - The state of the association.IamInstanceProfileAssociationState,
IamInstanceProfileAssociationStateIamInstanceProfileAssociation.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.