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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ReplaceIamInstanceProfileAssociationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.ReplaceIamInstanceProfileAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.