Interface DirectConnectGatewayAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>,SdkBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>,SdkPojo
- Enclosing class:
- DirectConnectGatewayAttachment
public static interface DirectConnectGatewayAttachment.Builder extends SdkPojo, CopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DirectConnectGatewayAttachment.Builderattachment(Consumer<Attachment.Builder> attachment)Sets the value of the Attachment property for this object.DirectConnectGatewayAttachment.Builderattachment(Attachment attachment)Sets the value of the Attachment property for this object.DirectConnectGatewayAttachment.BuilderdirectConnectGatewayArn(String directConnectGatewayArn)The Direct Connect gateway attachment ARN.-
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 Detail
-
attachment
DirectConnectGatewayAttachment.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 DirectConnectGatewayAttachment.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)
-
directConnectGatewayArn
DirectConnectGatewayAttachment.Builder directConnectGatewayArn(String directConnectGatewayArn)
The Direct Connect gateway attachment ARN.
- Parameters:
directConnectGatewayArn- The Direct Connect gateway attachment ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-