public static interface TransitGatewayPrefixListReference.Builder extends SdkPojo, CopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGatewayPrefixListReference.Builder transitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId
- The ID of the transit gateway route table.TransitGatewayPrefixListReference.Builder prefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.TransitGatewayPrefixListReference.Builder prefixListOwnerId(String prefixListOwnerId)
The ID of the prefix list owner.
prefixListOwnerId
- The ID of the prefix list owner.TransitGatewayPrefixListReference.Builder state(String state)
The state of the prefix list reference.
state
- The state of the prefix list reference.TransitGatewayPrefixListReferenceState
,
TransitGatewayPrefixListReferenceState
TransitGatewayPrefixListReference.Builder state(TransitGatewayPrefixListReferenceState state)
The state of the prefix list reference.
state
- The state of the prefix list reference.TransitGatewayPrefixListReferenceState
,
TransitGatewayPrefixListReferenceState
TransitGatewayPrefixListReference.Builder blackhole(Boolean blackhole)
Indicates whether traffic that matches this route is dropped.
blackhole
- Indicates whether traffic that matches this route is dropped.TransitGatewayPrefixListReference.Builder transitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment)
Information about the transit gateway attachment.
transitGatewayAttachment
- Information about the transit gateway attachment.default TransitGatewayPrefixListReference.Builder transitGatewayAttachment(Consumer<TransitGatewayPrefixListAttachment.Builder> transitGatewayAttachment)
Information about the transit gateway attachment.
This is a convenience method that creates an instance of theTransitGatewayPrefixListAttachment.Builder
avoiding the need to create one manually via
TransitGatewayPrefixListAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to transitGatewayAttachment(TransitGatewayPrefixListAttachment)
.
transitGatewayAttachment
- a consumer that will call methods on TransitGatewayPrefixListAttachment.Builder
transitGatewayAttachment(TransitGatewayPrefixListAttachment)
Copyright © 2023. All rights reserved.