public static interface ReplaceIamInstanceProfileAssociationRequest.Builder extends Ec2Request.Builder, SdkPojo, 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.
|
build
overrideConfiguration
copy
applyMutation, build
ReplaceIamInstanceProfileAssociationRequest.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.Builder
iamInstanceProfile(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.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ReplaceIamInstanceProfileAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.