Interface CarrierGateway.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CarrierGateway.Builder,
,CarrierGateway> SdkBuilder<CarrierGateway.Builder,
,CarrierGateway> SdkPojo
- Enclosing class:
CarrierGateway
public static interface CarrierGateway.Builder
extends SdkPojo, CopyableBuilder<CarrierGateway.Builder,CarrierGateway>
-
Method Summary
Modifier and TypeMethodDescriptioncarrierGatewayId
(String carrierGatewayId) The ID of the carrier gateway.The Amazon Web Services account ID of the owner of the carrier gateway.The state of the carrier gateway.state
(CarrierGatewayState state) The state of the carrier gateway.tags
(Collection<Tag> tags) The tags assigned to the carrier gateway.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the carrier gateway.The tags assigned to the carrier gateway.The ID of the VPC associated with the carrier gateway.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
-
carrierGatewayId
The ID of the carrier gateway.
- Parameters:
carrierGatewayId
- The ID of the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC associated with the carrier gateway.
- Parameters:
vpcId
- The ID of the VPC associated with the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the carrier gateway.
- Parameters:
state
- The state of the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the carrier gateway.
- Parameters:
state
- The state of the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The Amazon Web Services account ID of the owner of the carrier gateway.
- Parameters:
ownerId
- The Amazon Web Services account ID of the owner of the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the carrier gateway.
- Parameters:
tags
- The tags assigned to the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the carrier gateway.
- Parameters:
tags
- The tags assigned to the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the carrier gateway.
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:
-