Interface TransitGatewayRouteTableAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayRouteTableAttachment.Builder,TransitGatewayRouteTableAttachment>,SdkBuilder<TransitGatewayRouteTableAttachment.Builder,TransitGatewayRouteTableAttachment>,SdkPojo
- Enclosing class:
- TransitGatewayRouteTableAttachment
public static interface TransitGatewayRouteTableAttachment.Builder extends SdkPojo, CopyableBuilder<TransitGatewayRouteTableAttachment.Builder,TransitGatewayRouteTableAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TransitGatewayRouteTableAttachment.Builderattachment(Consumer<Attachment.Builder> attachment)Sets the value of the Attachment property for this object.TransitGatewayRouteTableAttachment.Builderattachment(Attachment attachment)Sets the value of the Attachment property for this object.TransitGatewayRouteTableAttachment.BuilderpeeringId(String peeringId)The ID of the peering attachment.TransitGatewayRouteTableAttachment.BuildertransitGatewayRouteTableArn(String transitGatewayRouteTableArn)The ARN of the transit gateway attachment 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, sdkFields
-
-
-
-
Method Detail
-
attachment
TransitGatewayRouteTableAttachment.Builder attachment(Attachment attachment)
Sets the value of the Attachment property for this object.- Parameters:
attachment- The new value for the Attachment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default TransitGatewayRouteTableAttachment.Builder attachment(Consumer<Attachment.Builder> attachment)
Sets the value of the Attachment property for this object. This is a convenience method that creates an instance of theAttachment.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(Attachment).- Parameters:
attachment- a consumer that will call methods onAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(Attachment)
-
peeringId
TransitGatewayRouteTableAttachment.Builder peeringId(String peeringId)
The ID of the peering attachment.
- Parameters:
peeringId- The ID of the peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayRouteTableArn
TransitGatewayRouteTableAttachment.Builder transitGatewayRouteTableArn(String transitGatewayRouteTableArn)
The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".- Parameters:
transitGatewayRouteTableArn- The ARN of the transit gateway attachment route table. For example,"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-