Interface InternetGatewayAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InternetGatewayAttachment.Builder,InternetGatewayAttachment>,SdkBuilder<InternetGatewayAttachment.Builder,InternetGatewayAttachment>,SdkPojo
- Enclosing class:
- InternetGatewayAttachment
@Mutable @NotThreadSafe public static interface InternetGatewayAttachment.Builder extends SdkPojo, CopyableBuilder<InternetGatewayAttachment.Builder,InternetGatewayAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternetGatewayAttachment.Builderstate(String state)The current state of the attachment.InternetGatewayAttachment.Builderstate(AttachmentStatus state)The current state of the attachment.InternetGatewayAttachment.BuildervpcId(String vpcId)The ID of the VPC.-
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
-
state
InternetGatewayAttachment.Builder state(String state)
The current state of the attachment. For an internet gateway, the state is
availablewhen attached to a VPC; otherwise, this value is not returned.- Parameters:
state- The current state of the attachment. For an internet gateway, the state isavailablewhen attached to a VPC; otherwise, this value is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentStatus,AttachmentStatus
-
state
InternetGatewayAttachment.Builder state(AttachmentStatus state)
The current state of the attachment. For an internet gateway, the state is
availablewhen attached to a VPC; otherwise, this value is not returned.- Parameters:
state- The current state of the attachment. For an internet gateway, the state isavailablewhen attached to a VPC; otherwise, this value is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentStatus,AttachmentStatus
-
vpcId
InternetGatewayAttachment.Builder vpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-