Interface ModifyTransitGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyTransitGatewayRequest.Builder,,ModifyTransitGatewayRequest> Ec2Request.Builder,SdkBuilder<ModifyTransitGatewayRequest.Builder,,ModifyTransitGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyTransitGatewayRequest
public static interface ModifyTransitGatewayRequest.Builder
extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyTransitGatewayRequest.Builder,ModifyTransitGatewayRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description for the transit gateway.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.The options to modify.options(ModifyTransitGatewayOptions options) The options to modify.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.transitGatewayId(String transitGatewayId) The ID of the transit gateway.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transitGatewayId
The ID of the transit gateway.
- Parameters:
transitGatewayId- The ID of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the transit gateway.
- Parameters:
description- The description for the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options to modify.
- Parameters:
options- The options to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
default ModifyTransitGatewayRequest.Builder options(Consumer<ModifyTransitGatewayOptions.Builder> options) The options to modify.
This is a convenience method that creates an instance of theModifyTransitGatewayOptions.Builderavoiding the need to create one manually viaModifyTransitGatewayOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(ModifyTransitGatewayOptions).- Parameters:
options- a consumer that will call methods onModifyTransitGatewayOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyTransitGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyTransitGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-