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
Modifier and TypeMethodDescriptionglobalNetworkId
(String globalNetworkId) The ID of the global network.The state of the transit gateway registration.The state of the transit gateway registration.transitGatewayArn
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaTransitGatewayRegistrationStateReason.builder()
.When the
Consumer
completes,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:
-