public class CreatePublicVirtualInterfaceResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
amazonAddress |
private java.lang.Integer |
asn |
private java.lang.String |
authKey |
private java.lang.String |
connectionId |
private java.lang.String |
customerAddress |
private java.lang.String |
customerRouterConfig
Information for generating the customer router configuration.
|
private java.lang.String |
location |
private java.lang.String |
ownerAccount
The AWS account that will own the new virtual interface.
|
private SdkInternalList<RouteFilterPrefix> |
routeFilterPrefixes |
private java.lang.String |
virtualGatewayId |
private java.lang.String |
virtualInterfaceId |
private java.lang.String |
virtualInterfaceName |
private java.lang.String |
virtualInterfaceState |
private java.lang.String |
virtualInterfaceType |
private java.lang.Integer |
vlan |
Constructor and Description |
---|
CreatePublicVirtualInterfaceResult() |
Modifier and Type | Method and Description |
---|---|
CreatePublicVirtualInterfaceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAmazonAddress() |
java.lang.Integer |
getAsn() |
java.lang.String |
getAuthKey() |
java.lang.String |
getConnectionId() |
java.lang.String |
getCustomerAddress() |
java.lang.String |
getCustomerRouterConfig()
Information for generating the customer router configuration.
|
java.lang.String |
getLocation() |
java.lang.String |
getOwnerAccount()
The AWS account that will own the new virtual interface.
|
java.util.List<RouteFilterPrefix> |
getRouteFilterPrefixes() |
java.lang.String |
getVirtualGatewayId() |
java.lang.String |
getVirtualInterfaceId() |
java.lang.String |
getVirtualInterfaceName() |
java.lang.String |
getVirtualInterfaceState() |
java.lang.String |
getVirtualInterfaceType() |
java.lang.Integer |
getVlan() |
int |
hashCode() |
void |
setAmazonAddress(java.lang.String amazonAddress) |
void |
setAsn(java.lang.Integer asn) |
void |
setAuthKey(java.lang.String authKey) |
void |
setConnectionId(java.lang.String connectionId) |
void |
setCustomerAddress(java.lang.String customerAddress) |
void |
setCustomerRouterConfig(java.lang.String customerRouterConfig)
Information for generating the customer router configuration.
|
void |
setLocation(java.lang.String location) |
void |
setOwnerAccount(java.lang.String ownerAccount)
The AWS account that will own the new virtual interface.
|
void |
setRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes) |
void |
setVirtualGatewayId(java.lang.String virtualGatewayId) |
void |
setVirtualInterfaceId(java.lang.String virtualInterfaceId) |
void |
setVirtualInterfaceName(java.lang.String virtualInterfaceName) |
void |
setVirtualInterfaceState(java.lang.String virtualInterfaceState) |
void |
setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) |
void |
setVirtualInterfaceType(java.lang.String virtualInterfaceType) |
void |
setVlan(java.lang.Integer vlan) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePublicVirtualInterfaceResult |
withAmazonAddress(java.lang.String amazonAddress) |
CreatePublicVirtualInterfaceResult |
withAsn(java.lang.Integer asn) |
CreatePublicVirtualInterfaceResult |
withAuthKey(java.lang.String authKey) |
CreatePublicVirtualInterfaceResult |
withConnectionId(java.lang.String connectionId) |
CreatePublicVirtualInterfaceResult |
withCustomerAddress(java.lang.String customerAddress) |
CreatePublicVirtualInterfaceResult |
withCustomerRouterConfig(java.lang.String customerRouterConfig)
Information for generating the customer router configuration.
|
CreatePublicVirtualInterfaceResult |
withLocation(java.lang.String location) |
CreatePublicVirtualInterfaceResult |
withOwnerAccount(java.lang.String ownerAccount)
The AWS account that will own the new virtual interface.
|
CreatePublicVirtualInterfaceResult |
withRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes) |
CreatePublicVirtualInterfaceResult |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any).
|
CreatePublicVirtualInterfaceResult |
withVirtualGatewayId(java.lang.String virtualGatewayId) |
CreatePublicVirtualInterfaceResult |
withVirtualInterfaceId(java.lang.String virtualInterfaceId) |
CreatePublicVirtualInterfaceResult |
withVirtualInterfaceName(java.lang.String virtualInterfaceName) |
CreatePublicVirtualInterfaceResult |
withVirtualInterfaceState(java.lang.String virtualInterfaceState) |
CreatePublicVirtualInterfaceResult |
withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) |
CreatePublicVirtualInterfaceResult |
withVirtualInterfaceType(java.lang.String virtualInterfaceType) |
CreatePublicVirtualInterfaceResult |
withVlan(java.lang.Integer vlan) |
private java.lang.String ownerAccount
The AWS account that will own the new virtual interface.
private java.lang.String virtualInterfaceId
private java.lang.String location
private java.lang.String connectionId
private java.lang.String virtualInterfaceType
private java.lang.String virtualInterfaceName
private java.lang.Integer vlan
private java.lang.Integer asn
private java.lang.String authKey
private java.lang.String amazonAddress
private java.lang.String customerAddress
private java.lang.String virtualInterfaceState
private java.lang.String customerRouterConfig
Information for generating the customer router configuration.
private java.lang.String virtualGatewayId
private SdkInternalList<RouteFilterPrefix> routeFilterPrefixes
public void setOwnerAccount(java.lang.String ownerAccount)
The AWS account that will own the new virtual interface.
ownerAccount
- The AWS account that will own the new virtual interface.public java.lang.String getOwnerAccount()
The AWS account that will own the new virtual interface.
public CreatePublicVirtualInterfaceResult withOwnerAccount(java.lang.String ownerAccount)
The AWS account that will own the new virtual interface.
ownerAccount
- The AWS account that will own the new virtual interface.public void setVirtualInterfaceId(java.lang.String virtualInterfaceId)
virtualInterfaceId
- public java.lang.String getVirtualInterfaceId()
public CreatePublicVirtualInterfaceResult withVirtualInterfaceId(java.lang.String virtualInterfaceId)
virtualInterfaceId
- public void setLocation(java.lang.String location)
location
- public java.lang.String getLocation()
public CreatePublicVirtualInterfaceResult withLocation(java.lang.String location)
location
- public void setConnectionId(java.lang.String connectionId)
connectionId
- public java.lang.String getConnectionId()
public CreatePublicVirtualInterfaceResult withConnectionId(java.lang.String connectionId)
connectionId
- public void setVirtualInterfaceType(java.lang.String virtualInterfaceType)
virtualInterfaceType
- public java.lang.String getVirtualInterfaceType()
public CreatePublicVirtualInterfaceResult withVirtualInterfaceType(java.lang.String virtualInterfaceType)
virtualInterfaceType
- public void setVirtualInterfaceName(java.lang.String virtualInterfaceName)
virtualInterfaceName
- public java.lang.String getVirtualInterfaceName()
public CreatePublicVirtualInterfaceResult withVirtualInterfaceName(java.lang.String virtualInterfaceName)
virtualInterfaceName
- public void setVlan(java.lang.Integer vlan)
vlan
- public java.lang.Integer getVlan()
public CreatePublicVirtualInterfaceResult withVlan(java.lang.Integer vlan)
vlan
- public void setAsn(java.lang.Integer asn)
asn
- public java.lang.Integer getAsn()
public CreatePublicVirtualInterfaceResult withAsn(java.lang.Integer asn)
asn
- public void setAuthKey(java.lang.String authKey)
authKey
- public java.lang.String getAuthKey()
public CreatePublicVirtualInterfaceResult withAuthKey(java.lang.String authKey)
authKey
- public void setAmazonAddress(java.lang.String amazonAddress)
amazonAddress
- public java.lang.String getAmazonAddress()
public CreatePublicVirtualInterfaceResult withAmazonAddress(java.lang.String amazonAddress)
amazonAddress
- public void setCustomerAddress(java.lang.String customerAddress)
customerAddress
- public java.lang.String getCustomerAddress()
public CreatePublicVirtualInterfaceResult withCustomerAddress(java.lang.String customerAddress)
customerAddress
- public void setVirtualInterfaceState(java.lang.String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public java.lang.String getVirtualInterfaceState()
VirtualInterfaceState
public CreatePublicVirtualInterfaceResult withVirtualInterfaceState(java.lang.String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public CreatePublicVirtualInterfaceResult withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public void setCustomerRouterConfig(java.lang.String customerRouterConfig)
Information for generating the customer router configuration.
customerRouterConfig
- Information for generating the customer router configuration.public java.lang.String getCustomerRouterConfig()
Information for generating the customer router configuration.
public CreatePublicVirtualInterfaceResult withCustomerRouterConfig(java.lang.String customerRouterConfig)
Information for generating the customer router configuration.
customerRouterConfig
- Information for generating the customer router configuration.public void setVirtualGatewayId(java.lang.String virtualGatewayId)
virtualGatewayId
- public java.lang.String getVirtualGatewayId()
public CreatePublicVirtualInterfaceResult withVirtualGatewayId(java.lang.String virtualGatewayId)
virtualGatewayId
- public java.util.List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public CreatePublicVirtualInterfaceResult withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any). Use setRouteFilterPrefixes(java.util.Collection)
or
withRouteFilterPrefixes(java.util.Collection)
if you want to
override the existing values.
routeFilterPrefixes
- public CreatePublicVirtualInterfaceResult withRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreatePublicVirtualInterfaceResult clone()
clone
in class java.lang.Object