public static interface TransitGatewayRoute.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRoute.Builder,TransitGatewayRoute>
equalsBySdkFields, sdkFields
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 prefixListId(String prefixListId)
The ID of the prefix list used for destination matches.
prefixListId
- The ID of the prefix list 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 © 2021. All rights reserved.