@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.
|
String |
deviceName()
The name of customer gateway device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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, waitcopypublic 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 String deviceName()
The name of customer gateway device.
public boolean hasTags()
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.
You can use hasTags() to see if a value was sent in this field.
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 SdkPojopublic String toString()
Copyright © 2019. All rights reserved.