Interface TransitGatewayVpcAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayVpcAttachment.Builder,
,TransitGatewayVpcAttachment> SdkBuilder<TransitGatewayVpcAttachment.Builder,
,TransitGatewayVpcAttachment> SdkPojo
- Enclosing class:
TransitGatewayVpcAttachment
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The creation time.The VPC attachment options.The VPC attachment options.The state of the VPC attachment.The state of the VPC attachment.The IDs of the subnets.subnetIds
(Collection<String> subnetIds) The IDs of the subnets.tags
(Collection<Tag> tags) The tags for the VPC attachment.tags
(Consumer<Tag.Builder>... tags) The tags for the VPC attachment.The tags for the VPC attachment.transitGatewayAttachmentId
(String transitGatewayAttachmentId) The ID of the attachment.transitGatewayId
(String transitGatewayId) The ID of the transit gateway.The ID of the VPC.vpcOwnerId
(String vpcOwnerId) The ID of the Amazon Web Services account that owns 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 Details
-
transitGatewayAttachmentId
The ID of the attachment.
- Parameters:
transitGatewayAttachmentId
- The ID of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
The ID of the transit gateway.
- Parameters:
transitGatewayId
- The ID of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
vpcOwnerId
The ID of the Amazon Web Services account that owns the VPC.
- Parameters:
vpcOwnerId
- The ID of the Amazon Web Services account that owns the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the VPC attachment. Note that the
initiating
state has been deprecated.- Parameters:
state
- The state of the VPC attachment. Note that theinitiating
state has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the VPC attachment. Note that the
initiating
state has been deprecated.- Parameters:
state
- The state of the VPC attachment. Note that theinitiating
state has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIds
The IDs of the subnets.
- Parameters:
subnetIds
- The IDs of the subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The IDs of the subnets.
- Parameters:
subnetIds
- The IDs of the subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time.
- Parameters:
creationTime
- The creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The VPC attachment options.
- Parameters:
options
- The VPC attachment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
default TransitGatewayVpcAttachment.Builder options(Consumer<TransitGatewayVpcAttachmentOptions.Builder> options) The VPC attachment options.
This is a convenience method that creates an instance of theTransitGatewayVpcAttachmentOptions.Builder
avoiding the need to create one manually viaTransitGatewayVpcAttachmentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(TransitGatewayVpcAttachmentOptions)
.- Parameters:
options
- a consumer that will call methods onTransitGatewayVpcAttachmentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the VPC attachment.
- Parameters:
tags
- The tags for the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the VPC attachment.
- Parameters:
tags
- The tags for the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the VPC attachment.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-