Interface CustomerGateway.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomerGateway.Builder,
,CustomerGateway> SdkBuilder<CustomerGateway.Builder,
,CustomerGateway> SdkPojo
- Enclosing class:
CustomerGateway
public static interface CustomerGateway.Builder
extends SdkPojo, CopyableBuilder<CustomerGateway.Builder,CustomerGateway>
-
Method Summary
Modifier and TypeMethodDescriptionThe customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).certificateArn
(String certificateArn) The Amazon Resource Name (ARN) for the customer gateway certificate.customerGatewayId
(String customerGatewayId) The ID of the customer gateway.deviceName
(String deviceName) The name of customer gateway device.The IP address of the customer gateway device's outside interface.The current state of the customer gateway (pending | available | deleting | deleted
).tags
(Collection<Tag> tags) Any tags assigned to the customer gateway.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the customer gateway.Any tags assigned to the customer gateway.The type of VPN connection the customer gateway supports (ipsec.1
).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
-
bgpAsn
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
- Parameters:
bgpAsn
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayId
The ID of the customer gateway.
- Parameters:
customerGatewayId
- The ID of the customer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
The IP address of the customer gateway device's outside interface.
- Parameters:
ipAddress
- The IP address of the customer gateway device's outside interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateArn
The Amazon Resource Name (ARN) for the customer gateway certificate.
- Parameters:
certificateArn
- The Amazon Resource Name (ARN) for the customer gateway certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the customer gateway (
pending | available | deleting | deleted
).- Parameters:
state
- The current state of the customer gateway (pending | available | deleting | deleted
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of VPN connection the customer gateway supports (
ipsec.1
).- Parameters:
type
- The type of VPN connection the customer gateway supports (ipsec.1
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
The name of customer gateway device.
- Parameters:
deviceName
- The name of customer gateway device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the customer gateway.
- Parameters:
tags
- Any tags assigned to the customer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the customer gateway.
- Parameters:
tags
- Any tags assigned to the customer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the customer 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:
-