Interface TransitGatewayPrefixListReference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayPrefixListReference.Builder,
,TransitGatewayPrefixListReference> SdkBuilder<TransitGatewayPrefixListReference.Builder,
,TransitGatewayPrefixListReference> SdkPojo
- Enclosing class:
TransitGatewayPrefixListReference
@Mutable
@NotThreadSafe
public static interface TransitGatewayPrefixListReference.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether traffic that matches this route is dropped.prefixListId
(String prefixListId) The ID of the prefix list.prefixListOwnerId
(String prefixListOwnerId) The ID of the prefix list owner.The state of the prefix list reference.The state of the prefix list reference.transitGatewayAttachment
(Consumer<TransitGatewayPrefixListAttachment.Builder> transitGatewayAttachment) Information about the transit gateway attachment.transitGatewayAttachment
(TransitGatewayPrefixListAttachment transitGatewayAttachment) Information about the transit gateway attachment.transitGatewayRouteTableId
(String transitGatewayRouteTableId) The ID of the transit gateway route table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
transitGatewayRouteTableId
TransitGatewayPrefixListReference.Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) The ID of the transit gateway route table.
- Parameters:
transitGatewayRouteTableId
- The ID of the transit gateway route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListId
The ID of the prefix list.
- Parameters:
prefixListId
- The ID of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListOwnerId
The ID of the prefix list owner.
- Parameters:
prefixListOwnerId
- The ID of the prefix list owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the prefix list reference.
- Parameters:
state
- The state of the prefix list reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the prefix list reference.
- Parameters:
state
- The state of the prefix list reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blackhole
Indicates whether traffic that matches this route is dropped.
- Parameters:
blackhole
- Indicates whether traffic that matches this route is dropped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachment
TransitGatewayPrefixListReference.Builder transitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment) Information about the transit gateway attachment.
- Parameters:
transitGatewayAttachment
- Information about the transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachment
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 viaTransitGatewayPrefixListAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransitGatewayAttachment(TransitGatewayPrefixListAttachment)
.- Parameters:
transitGatewayAttachment
- a consumer that will call methods onTransitGatewayPrefixListAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-