@Generated(value="software.amazon.awssdk:codegen") public final class LocalGatewayVirtualInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>
Describes a local gateway virtual interface.
Modifier and Type | Class and Description |
---|---|
static interface |
LocalGatewayVirtualInterface.Builder |
Modifier and Type | Method and Description |
---|---|
static LocalGatewayVirtualInterface.Builder |
builder() |
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 |
localAddress()
The local address.
|
Integer |
localBgpAsn()
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
|
String |
localGatewayId()
The ID of the local gateway.
|
String |
localGatewayVirtualInterfaceId()
The ID of the virtual interface.
|
String |
peerAddress()
The peer address.
|
Integer |
peerBgpAsn()
The peer BGP ASN.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocalGatewayVirtualInterface.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags assigned to the virtual interface.
|
LocalGatewayVirtualInterface.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
vlan()
The ID of the VLAN.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String localGatewayVirtualInterfaceId()
The ID of the virtual interface.
public String localGatewayId()
The ID of the local gateway.
public Integer vlan()
The ID of the VLAN.
public String localAddress()
The local address.
public String peerAddress()
The peer address.
public Integer localBgpAsn()
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
public Integer peerBgpAsn()
The peer BGP ASN.
public boolean hasTags()
public List<Tag> tags()
The tags assigned to the virtual interface.
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 LocalGatewayVirtualInterface.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>
public static LocalGatewayVirtualInterface.Builder builder()
public static Class<? extends LocalGatewayVirtualInterface.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.