public static interface TransitGatewayRegistration.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRegistration.Builder,TransitGatewayRegistration>
| Modifier and Type | Method and Description |
|---|---|
TransitGatewayRegistration.Builder |
globalNetworkId(String globalNetworkId)
The ID of the global network.
|
default TransitGatewayRegistration.Builder |
state(Consumer<TransitGatewayRegistrationStateReason.Builder> state)
The state of the transit gateway registration.
|
TransitGatewayRegistration.Builder |
state(TransitGatewayRegistrationStateReason state)
The state of the transit gateway registration.
|
TransitGatewayRegistration.Builder |
transitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTransitGatewayRegistration.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId - The ID of the global network.TransitGatewayRegistration.Builder transitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
transitGatewayArn - The Amazon Resource Name (ARN) of the transit gateway.TransitGatewayRegistration.Builder state(TransitGatewayRegistrationStateReason state)
The state of the transit gateway registration.
state - The state of the transit gateway registration.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 via
TransitGatewayRegistrationStateReason.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to state(TransitGatewayRegistrationStateReason).
state - a consumer that will call methods on TransitGatewayRegistrationStateReason.Builderstate(TransitGatewayRegistrationStateReason)Copyright © 2022. All rights reserved.