@Generated(value="software.amazon.awssdk:codegen") public final class CreatePrivateVirtualInterfaceResponse extends DirectConnectResponse implements ToCopyableBuilder<CreatePrivateVirtualInterfaceResponse.Builder,CreatePrivateVirtualInterfaceResponse>
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
Modifier and Type | Class and Description |
---|---|
static interface |
CreatePrivateVirtualInterfaceResponse.Builder |
Modifier and Type | Method and Description |
---|---|
AddressFamily |
addressFamily()
Returns the value of the AddressFamily property for this object.
|
String |
addressFamilyAsString()
Returns the value of the AddressFamily property for this object.
|
String |
amazonAddress()
Returns the value of the AmazonAddress property for this object.
|
Long |
amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
Integer |
asn()
Returns the value of the Asn property for this object.
|
String |
authKey()
Returns the value of the AuthKey property for this object.
|
List<BGPPeer> |
bgpPeers()
Returns the value of the BgpPeers property for this object.
|
static CreatePrivateVirtualInterfaceResponse.Builder |
builder() |
String |
connectionId()
Returns the value of the ConnectionId property for this object.
|
String |
customerAddress()
Returns the value of the CustomerAddress property for this object.
|
String |
customerRouterConfig()
Information for generating the customer router configuration.
|
String |
directConnectGatewayId()
Returns the value of the DirectConnectGatewayId property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
location()
Returns the value of the Location property for this object.
|
String |
ownerAccount()
The AWS account that will own the new virtual interface.
|
List<RouteFilterPrefix> |
routeFilterPrefixes()
Returns the value of the RouteFilterPrefixes property for this object.
|
static Class<? extends CreatePrivateVirtualInterfaceResponse.Builder> |
serializableBuilderClass() |
CreatePrivateVirtualInterfaceResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
virtualGatewayId()
Returns the value of the VirtualGatewayId property for this object.
|
String |
virtualInterfaceId()
Returns the value of the VirtualInterfaceId property for this object.
|
String |
virtualInterfaceName()
Returns the value of the VirtualInterfaceName property for this object.
|
VirtualInterfaceState |
virtualInterfaceState()
Returns the value of the VirtualInterfaceState property for this object.
|
String |
virtualInterfaceStateAsString()
Returns the value of the VirtualInterfaceState property for this object.
|
String |
virtualInterfaceType()
Returns the value of the VirtualInterfaceType property for this object.
|
Integer |
vlan()
Returns the value of the Vlan property for this object.
|
sdkHttpResponse
copy
public String ownerAccount()
The AWS account that will own the new virtual interface.
public String virtualInterfaceId()
public String location()
public String connectionId()
public String virtualInterfaceType()
public String virtualInterfaceName()
public Integer vlan()
public Integer asn()
public Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public String authKey()
public String amazonAddress()
public String customerAddress()
public AddressFamily addressFamily()
If the service returns an enum value that is not available in the current SDK version, addressFamily
will return AddressFamily.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
addressFamilyAsString()
.
AddressFamily
public String addressFamilyAsString()
If the service returns an enum value that is not available in the current SDK version, addressFamily
will return AddressFamily.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
addressFamilyAsString()
.
AddressFamily
public VirtualInterfaceState virtualInterfaceState()
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceState
will return VirtualInterfaceState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from virtualInterfaceStateAsString()
.
VirtualInterfaceState
public String virtualInterfaceStateAsString()
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceState
will return VirtualInterfaceState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from virtualInterfaceStateAsString()
.
VirtualInterfaceState
public String customerRouterConfig()
Information for generating the customer router configuration.
public String virtualGatewayId()
public String directConnectGatewayId()
public List<RouteFilterPrefix> routeFilterPrefixes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<BGPPeer> bgpPeers()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreatePrivateVirtualInterfaceResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePrivateVirtualInterfaceResponse.Builder,CreatePrivateVirtualInterfaceResponse>
toBuilder
in class AwsResponse
public static CreatePrivateVirtualInterfaceResponse.Builder builder()
public static Class<? extends CreatePrivateVirtualInterfaceResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.