public static interface TransitGatewayRoute.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRoute.Builder,TransitGatewayRoute>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTransitGatewayRoute.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,
TransitGatewayRouteTypeTransitGatewayRoute.Builder type(TransitGatewayRouteType type)
The route type.
type - The route type.TransitGatewayRouteType,
TransitGatewayRouteTypeTransitGatewayRoute.Builder state(String state)
The state of the route.
state - The state of the route.TransitGatewayRouteState,
TransitGatewayRouteStateTransitGatewayRoute.Builder state(TransitGatewayRouteState state)
The state of the route.
state - The state of the route.TransitGatewayRouteState,
TransitGatewayRouteStateCopyright © 2022. All rights reserved.