Interface TransitGatewayRegistration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayRegistration.Builder,TransitGatewayRegistration>,SdkBuilder<TransitGatewayRegistration.Builder,TransitGatewayRegistration>,SdkPojo
- Enclosing class:
- TransitGatewayRegistration
public static interface TransitGatewayRegistration.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRegistration.Builder,TransitGatewayRegistration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransitGatewayRegistration.BuilderglobalNetworkId(String globalNetworkId)The ID of the global network.default TransitGatewayRegistration.Builderstate(Consumer<TransitGatewayRegistrationStateReason.Builder> state)The state of the transit gateway registration.TransitGatewayRegistration.Builderstate(TransitGatewayRegistrationStateReason state)The state of the transit gateway registration.TransitGatewayRegistration.BuildertransitGatewayArn(String transitGatewayArn)The Amazon Resource Name (ARN) of the transit gateway.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
globalNetworkId
TransitGatewayRegistration.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
- Parameters:
globalNetworkId- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayArn
TransitGatewayRegistration.Builder transitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
- Parameters:
transitGatewayArn- The Amazon Resource Name (ARN) of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
TransitGatewayRegistration.Builder state(TransitGatewayRegistrationStateReason state)
The state of the transit gateway registration.
- Parameters:
state- The state of the transit gateway registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default TransitGatewayRegistration.Builder state(Consumer<TransitGatewayRegistrationStateReason.Builder> state)
The state of the transit gateway registration.
This is a convenience method that creates an instance of theTransitGatewayRegistrationStateReason.Builderavoiding the need to create one manually viaTransitGatewayRegistrationStateReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(TransitGatewayRegistrationStateReason).- Parameters:
state- a consumer that will call methods onTransitGatewayRegistrationStateReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(TransitGatewayRegistrationStateReason)
-
-