public static interface CarrierGateway.Builder extends SdkPojo, CopyableBuilder<CarrierGateway.Builder,CarrierGateway>
| Modifier and Type | Method and Description |
|---|---|
CarrierGateway.Builder |
carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
CarrierGateway.Builder |
ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
|
CarrierGateway.Builder |
state(CarrierGatewayState state)
The state of the carrier gateway.
|
CarrierGateway.Builder |
state(String state)
The state of the carrier gateway.
|
CarrierGateway.Builder |
tags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
|
CarrierGateway.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the carrier gateway.
|
CarrierGateway.Builder |
tags(Tag... tags)
The tags assigned to the carrier gateway.
|
CarrierGateway.Builder |
vpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCarrierGateway.Builder carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
carrierGatewayId - The ID of the carrier gateway.CarrierGateway.Builder vpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
vpcId - The ID of the VPC associated with the carrier gateway.CarrierGateway.Builder state(String state)
The state of the carrier gateway.
state - The state of the carrier gateway.CarrierGatewayState,
CarrierGatewayStateCarrierGateway.Builder state(CarrierGatewayState state)
The state of the carrier gateway.
state - The state of the carrier gateway.CarrierGatewayState,
CarrierGatewayStateCarrierGateway.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
ownerId - The Amazon Web Services account ID of the owner of the carrier gateway.CarrierGateway.Builder tags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
tags - The tags assigned to the carrier gateway.CarrierGateway.Builder tags(Tag... tags)
The tags assigned to the carrier gateway.
tags - The tags assigned to the carrier gateway.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.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.