@Generated(value="software.amazon.awssdk:codegen") public final class CustomerGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomerGateway.Builder,CustomerGateway>
Describes a customer gateway.
Modifier and Type | Class and Description |
---|---|
static interface |
CustomerGateway.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bgpAsn()
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
static CustomerGateway.Builder |
builder() |
String |
customerGatewayId()
The ID of the customer gateway.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddress()
The Internet-routable IP address of the customer gateway's outside interface.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomerGateway.Builder> |
serializableBuilderClass() |
String |
state()
The current state of the customer gateway (
pending | available | deleting | deleted ). |
List<Tag> |
tags()
Any tags assigned to the customer gateway.
|
CustomerGateway.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of VPN connection the customer gateway supports (
ipsec.1 ). |
copy
public String bgpAsn()
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
public String customerGatewayId()
The ID of the customer gateway.
public String ipAddress()
The Internet-routable IP address of the customer gateway's outside interface.
public String state()
The current state of the customer gateway (pending | available | deleting | deleted
).
pending | available | deleting | deleted
).public String type()
The type of VPN connection the customer gateway supports (ipsec.1
).
ipsec.1
).public List<Tag> tags()
Any tags assigned to the customer gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CustomerGateway.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CustomerGateway.Builder,CustomerGateway>
public static CustomerGateway.Builder builder()
public static Class<? extends CustomerGateway.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.