Interface TransitGatewayPrefixListReference.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
,SdkBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
,SdkPojo
- Enclosing class:
- TransitGatewayPrefixListReference
public static interface TransitGatewayPrefixListReference.Builder extends SdkPojo, CopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
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
TransitGatewayPrefixListReference.Builder prefixListId(String 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
TransitGatewayPrefixListReference.Builder prefixListOwnerId(String 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
TransitGatewayPrefixListReference.Builder state(String 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:
TransitGatewayPrefixListReferenceState
,TransitGatewayPrefixListReferenceState
-
state
TransitGatewayPrefixListReference.Builder state(TransitGatewayPrefixListReferenceState 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:
TransitGatewayPrefixListReferenceState
,TransitGatewayPrefixListReferenceState
-
blackhole
TransitGatewayPrefixListReference.Builder blackhole(Boolean 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:
transitGatewayAttachment(TransitGatewayPrefixListAttachment)
-
-