@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 |
certificateArn()
The Amazon Resource Name (ARN) for the customer gateway certificate.
|
String |
customerGatewayId()
The ID of the customer gateway.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of VPN connection the customer gateway supports (
ipsec.1 ). |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 certificateArn()
The Amazon Resource Name (ARN) for the customer gateway certificate.
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()
toBuilder
in interface ToCopyableBuilder<CustomerGateway.Builder,CustomerGateway>
public static CustomerGateway.Builder builder()
public static Class<? extends CustomerGateway.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.