public static interface TransitGatewayRoute.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRoute.Builder,TransitGatewayRoute>
Modifier and Type | Method and Description |
---|---|
TransitGatewayRoute.Builder |
destinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
|
TransitGatewayRoute.Builder |
state(String state)
The state of the route.
|
TransitGatewayRoute.Builder |
state(TransitGatewayRouteState state)
The state of the route.
|
TransitGatewayRoute.Builder |
transitGatewayAttachments(Collection<TransitGatewayRouteAttachment> transitGatewayAttachments)
The attachments.
|
TransitGatewayRoute.Builder |
transitGatewayAttachments(Consumer<TransitGatewayRouteAttachment.Builder>... transitGatewayAttachments)
The attachments.
|
TransitGatewayRoute.Builder |
transitGatewayAttachments(TransitGatewayRouteAttachment... transitGatewayAttachments)
The attachments.
|
TransitGatewayRoute.Builder |
type(String type)
The route type.
|
TransitGatewayRoute.Builder |
type(TransitGatewayRouteType type)
The route type.
|
copy
applyMutation, build
TransitGatewayRoute.Builder destinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
destinationCidrBlock
- The CIDR block used for destination matches.TransitGatewayRoute.Builder transitGatewayAttachments(Collection<TransitGatewayRouteAttachment> transitGatewayAttachments)
The attachments.
transitGatewayAttachments
- The attachments.TransitGatewayRoute.Builder transitGatewayAttachments(TransitGatewayRouteAttachment... transitGatewayAttachments)
The attachments.
transitGatewayAttachments
- The attachments.TransitGatewayRoute.Builder transitGatewayAttachments(Consumer<TransitGatewayRouteAttachment.Builder>... transitGatewayAttachments)
The attachments.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #transitGatewayAttachments(List)
.transitGatewayAttachments
- a consumer that will call methods on List.Builder
#transitGatewayAttachments(List)
TransitGatewayRoute.Builder type(String type)
The route type.
type
- The route type.TransitGatewayRouteType
,
TransitGatewayRouteType
TransitGatewayRoute.Builder type(TransitGatewayRouteType type)
The route type.
type
- The route type.TransitGatewayRouteType
,
TransitGatewayRouteType
TransitGatewayRoute.Builder state(String state)
The state of the route.
state
- The state of the route.TransitGatewayRouteState
,
TransitGatewayRouteState
TransitGatewayRoute.Builder state(TransitGatewayRouteState state)
The state of the route.
state
- The state of the route.TransitGatewayRouteState
,
TransitGatewayRouteState
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.