Interface ModifyTransitGatewayRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyTransitGatewayRequest.Builder,ModifyTransitGatewayRequest>,Ec2Request.Builder,SdkBuilder<ModifyTransitGatewayRequest.Builder,ModifyTransitGatewayRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyTransitGatewayRequest
@Mutable @NotThreadSafe public static interface ModifyTransitGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyTransitGatewayRequest.Builder,ModifyTransitGatewayRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ModifyTransitGatewayRequest.Builderdescription(String description)The description for the transit gateway.ModifyTransitGatewayRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.default ModifyTransitGatewayRequest.Builderoptions(Consumer<ModifyTransitGatewayOptions.Builder> options)The options to modify.ModifyTransitGatewayRequest.Builderoptions(ModifyTransitGatewayOptions options)The options to modify.ModifyTransitGatewayRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyTransitGatewayRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyTransitGatewayRequest.BuildertransitGatewayId(String transitGatewayId)The ID of the transit gateway.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
transitGatewayId
ModifyTransitGatewayRequest.Builder transitGatewayId(String 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
ModifyTransitGatewayRequest.Builder description(String 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
ModifyTransitGatewayRequest.Builder options(ModifyTransitGatewayOptions 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:
options(ModifyTransitGatewayOptions)
-
dryRun
ModifyTransitGatewayRequest.Builder dryRun(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyTransitGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-