Interface TransitGatewayPeering.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayPeering.Builder,,TransitGatewayPeering> SdkBuilder<TransitGatewayPeering.Builder,,TransitGatewayPeering> SdkPojo
- Enclosing class:
TransitGatewayPeering
@Mutable
@NotThreadSafe
public static interface TransitGatewayPeering.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayPeering.Builder,TransitGatewayPeering>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransitGatewayPeering.Builderpeering(Consumer<Peering.Builder> peering) Describes a transit gateway peer connection.Describes a transit gateway peer connection.transitGatewayArn(String transitGatewayArn) The ARN of the transit gateway.transitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId) The ID of the transit gateway peering attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
peering
Describes a transit gateway peer connection.
- Parameters:
peering- Describes a transit gateway peer connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peering
Describes a transit gateway peer connection.
This is a convenience method that creates an instance of thePeering.Builderavoiding the need to create one manually viaPeering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topeering(Peering).- Parameters:
peering- a consumer that will call methods onPeering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transitGatewayArn
The ARN of the transit gateway.
- Parameters:
transitGatewayArn- The ARN of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayPeeringAttachmentId
TransitGatewayPeering.Builder transitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId) The ID of the transit gateway peering attachment.
- Parameters:
transitGatewayPeeringAttachmentId- The ID of the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-