public static interface ReplaceIamInstanceProfileAssociationRequest.Builder extends EC2Request.Builder, CopyableBuilder<ReplaceIamInstanceProfileAssociationRequest.Builder,ReplaceIamInstanceProfileAssociationRequest>
| Modifier and Type | Method and Description |
|---|---|
ReplaceIamInstanceProfileAssociationRequest.Builder |
associationId(String associationId)
The ID of the existing IAM instance profile association.
|
default ReplaceIamInstanceProfileAssociationRequest.Builder |
iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile)
The IAM instance profile.
|
ReplaceIamInstanceProfileAssociationRequest.Builder |
iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
ReplaceIamInstanceProfileAssociationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ReplaceIamInstanceProfileAssociationRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildReplaceIamInstanceProfileAssociationRequest.Builder iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile - The IAM instance profile.default ReplaceIamInstanceProfileAssociationRequest.Builder iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile)
The IAM instance profile.
This is a convenience that creates an instance of theIamInstanceProfileSpecification.Builder
avoiding the need to create one manually via IamInstanceProfileSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to iamInstanceProfile(IamInstanceProfileSpecification).iamInstanceProfile - a consumer that will call methods on IamInstanceProfileSpecification.BuilderiamInstanceProfile(IamInstanceProfileSpecification)ReplaceIamInstanceProfileAssociationRequest.Builder associationId(String associationId)
The ID of the existing IAM instance profile association.
associationId - The ID of the existing IAM instance profile association.ReplaceIamInstanceProfileAssociationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ReplaceIamInstanceProfileAssociationRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.