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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CarrierGateway.BuildercarrierGatewayId(String carrierGatewayId)The ID of the carrier gateway.CarrierGateway.BuilderownerId(String ownerId)The Amazon Web Services account ID of the owner of the carrier gateway.CarrierGateway.Builderstate(String state)The state of the carrier gateway.CarrierGateway.Builderstate(CarrierGatewayState state)The state of the carrier gateway.CarrierGateway.Buildertags(Collection<Tag> tags)The tags assigned to the carrier gateway.CarrierGateway.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the carrier gateway.CarrierGateway.Buildertags(Tag... tags)The tags assigned to the carrier gateway.CarrierGateway.BuildervpcId(String vpcId)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 Detail
-
carrierGatewayId
CarrierGateway.Builder carrierGatewayId(String 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
CarrierGateway.Builder vpcId(String 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
CarrierGateway.Builder state(String 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:
CarrierGatewayState,CarrierGatewayState
-
state
CarrierGateway.Builder state(CarrierGatewayState 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:
CarrierGatewayState,CarrierGatewayState
-
ownerId
CarrierGateway.Builder ownerId(String 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
CarrierGateway.Builder tags(Collection<Tag> 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
CarrierGateway.Builder tags(Tag... 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
CarrierGateway.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the carrier gateway.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-