Interface InternetGatewayAttachment.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InternetGatewayAttachment.Builder,InternetGatewayAttachment>
,SdkBuilder<InternetGatewayAttachment.Builder,InternetGatewayAttachment>
,SdkPojo
- Enclosing class:
- InternetGatewayAttachment
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.Builder
state(String state)
The current state of the attachment.InternetGatewayAttachment.Builder
state(AttachmentStatus state)
The current state of the attachment.InternetGatewayAttachment.Builder
vpcId(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, sdkFields
-
-
-
-
Method Detail
-
state
InternetGatewayAttachment.Builder state(String state)
The current state of the attachment. For an internet gateway, the state is
available
when attached to a VPC; otherwise, this value is not returned.- Parameters:
state
- The current state of the attachment. For an internet gateway, the state isavailable
when 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
available
when attached to a VPC; otherwise, this value is not returned.- Parameters:
state
- The current state of the attachment. For an internet gateway, the state isavailable
when 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.
-
-