Interface ReplaceIamInstanceProfileAssociationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ReplaceIamInstanceProfileAssociationRequest.Builder,ReplaceIamInstanceProfileAssociationRequest>
,Ec2Request.Builder
,SdkBuilder<ReplaceIamInstanceProfileAssociationRequest.Builder,ReplaceIamInstanceProfileAssociationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ReplaceIamInstanceProfileAssociationRequest
public static interface ReplaceIamInstanceProfileAssociationRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ReplaceIamInstanceProfileAssociationRequest.Builder,ReplaceIamInstanceProfileAssociationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ReplaceIamInstanceProfileAssociationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
iamInstanceProfile
ReplaceIamInstanceProfileAssociationRequest.Builder iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
- Parameters:
iamInstanceProfile
- The IAM instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamInstanceProfile
default ReplaceIamInstanceProfileAssociationRequest.Builder iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile)
The IAM instance profile.
This is a convenience method that creates an instance of theIamInstanceProfileSpecification.Builder
avoiding the need to create one manually viaIamInstanceProfileSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiamInstanceProfile(IamInstanceProfileSpecification)
.- Parameters:
iamInstanceProfile
- a consumer that will call methods onIamInstanceProfileSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
iamInstanceProfile(IamInstanceProfileSpecification)
-
associationId
ReplaceIamInstanceProfileAssociationRequest.Builder associationId(String associationId)
The ID of the existing IAM instance profile association.
- Parameters:
associationId
- The ID of the existing IAM instance profile association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ReplaceIamInstanceProfileAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ReplaceIamInstanceProfileAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-