@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateHostedConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about an Direct Connect connection.
Constructor and Description |
---|
AssociateHostedConnectionResult() |
Modifier and Type | Method and Description |
---|---|
AssociateHostedConnectionResult |
clone() |
boolean |
equals(Object obj) |
String |
getAwsDevice()
The Direct Connect endpoint on which the physical connection terminates.
|
String |
getAwsDeviceV2()
The Direct Connect endpoint that terminates the physical connection.
|
String |
getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection.
|
String |
getBandwidth()
The bandwidth of the connection.
|
String |
getConnectionId()
The ID of the connection.
|
String |
getConnectionName()
The name of the connection.
|
String |
getConnectionState()
The state of the connection.
|
String |
getEncryptionMode()
The MAC Security (MACsec) connection encryption mode.
|
String |
getHasLogicalRedundancy()
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
Boolean |
getJumboFrameCapable()
Indicates whether jumbo frames are supported.
|
String |
getLagId()
The ID of the LAG.
|
Date |
getLoaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
|
String |
getLocation()
The location of the connection.
|
Boolean |
getMacSecCapable()
Indicates whether the connection supports MAC Security (MACsec).
|
List<MacSecKey> |
getMacSecKeys()
The MAC Security (MACsec) security keys associated with the connection.
|
String |
getOwnerAccount()
The ID of the Amazon Web Services account that owns the connection.
|
String |
getPartnerName()
The name of the Direct Connect service provider associated with the connection.
|
String |
getPortEncryptionStatus()
The MAC Security (MACsec) port link status of the connection.
|
String |
getProviderName()
The name of the service provider associated with the connection.
|
String |
getRegion()
The Amazon Web Services Region where the connection is located.
|
List<Tag> |
getTags()
The tags associated with the connection.
|
Integer |
getVlan()
The ID of the VLAN.
|
int |
hashCode() |
Boolean |
isJumboFrameCapable()
Indicates whether jumbo frames are supported.
|
Boolean |
isMacSecCapable()
Indicates whether the connection supports MAC Security (MACsec).
|
void |
setAwsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
|
void |
setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
|
void |
setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
void |
setBandwidth(String bandwidth)
The bandwidth of the connection.
|
void |
setConnectionId(String connectionId)
The ID of the connection.
|
void |
setConnectionName(String connectionName)
The name of the connection.
|
void |
setConnectionState(ConnectionState connectionState)
The state of the connection.
|
void |
setConnectionState(String connectionState)
The state of the connection.
|
void |
setEncryptionMode(String encryptionMode)
The MAC Security (MACsec) connection encryption mode.
|
void |
setHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
void |
setHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
void |
setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
|
void |
setLagId(String lagId)
The ID of the LAG.
|
void |
setLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
|
void |
setLocation(String location)
The location of the connection.
|
void |
setMacSecCapable(Boolean macSecCapable)
Indicates whether the connection supports MAC Security (MACsec).
|
void |
setMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the connection.
|
void |
setPartnerName(String partnerName)
The name of the Direct Connect service provider associated with the connection.
|
void |
setPortEncryptionStatus(String portEncryptionStatus)
The MAC Security (MACsec) port link status of the connection.
|
void |
setProviderName(String providerName)
The name of the service provider associated with the connection.
|
void |
setRegion(String region)
The Amazon Web Services Region where the connection is located.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the connection.
|
void |
setVlan(Integer vlan)
The ID of the VLAN.
|
String |
toString()
Returns a string representation of this object.
|
AssociateHostedConnectionResult |
withAwsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
|
AssociateHostedConnectionResult |
withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
|
AssociateHostedConnectionResult |
withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
AssociateHostedConnectionResult |
withBandwidth(String bandwidth)
The bandwidth of the connection.
|
AssociateHostedConnectionResult |
withConnectionId(String connectionId)
The ID of the connection.
|
AssociateHostedConnectionResult |
withConnectionName(String connectionName)
The name of the connection.
|
AssociateHostedConnectionResult |
withConnectionState(ConnectionState connectionState)
The state of the connection.
|
AssociateHostedConnectionResult |
withConnectionState(String connectionState)
The state of the connection.
|
AssociateHostedConnectionResult |
withEncryptionMode(String encryptionMode)
The MAC Security (MACsec) connection encryption mode.
|
AssociateHostedConnectionResult |
withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
AssociateHostedConnectionResult |
withHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
AssociateHostedConnectionResult |
withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
|
AssociateHostedConnectionResult |
withLagId(String lagId)
The ID of the LAG.
|
AssociateHostedConnectionResult |
withLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
|
AssociateHostedConnectionResult |
withLocation(String location)
The location of the connection.
|
AssociateHostedConnectionResult |
withMacSecCapable(Boolean macSecCapable)
Indicates whether the connection supports MAC Security (MACsec).
|
AssociateHostedConnectionResult |
withMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
|
AssociateHostedConnectionResult |
withMacSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
|
AssociateHostedConnectionResult |
withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the connection.
|
AssociateHostedConnectionResult |
withPartnerName(String partnerName)
The name of the Direct Connect service provider associated with the connection.
|
AssociateHostedConnectionResult |
withPortEncryptionStatus(String portEncryptionStatus)
The MAC Security (MACsec) port link status of the connection.
|
AssociateHostedConnectionResult |
withProviderName(String providerName)
The name of the service provider associated with the connection.
|
AssociateHostedConnectionResult |
withRegion(String region)
The Amazon Web Services Region where the connection is located.
|
AssociateHostedConnectionResult |
withTags(Collection<Tag> tags)
The tags associated with the connection.
|
AssociateHostedConnectionResult |
withTags(Tag... tags)
The tags associated with the connection.
|
AssociateHostedConnectionResult |
withVlan(Integer vlan)
The ID of the VLAN.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the connection.
ownerAccount
- The ID of the Amazon Web Services account that owns the connection.public String getOwnerAccount()
The ID of the Amazon Web Services account that owns the connection.
public AssociateHostedConnectionResult withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the connection.
ownerAccount
- The ID of the Amazon Web Services account that owns the connection.public void setConnectionId(String connectionId)
The ID of the connection.
connectionId
- The ID of the connection.public String getConnectionId()
The ID of the connection.
public AssociateHostedConnectionResult withConnectionId(String connectionId)
The ID of the connection.
connectionId
- The ID of the connection.public void setConnectionName(String connectionName)
The name of the connection.
connectionName
- The name of the connection.public String getConnectionName()
The name of the connection.
public AssociateHostedConnectionResult withConnectionName(String connectionName)
The name of the connection.
connectionName
- The name of the connection.public void setConnectionState(String connectionState)
The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The connection
stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
requested
: The initial state of a standard connection. The connection stays in the requested state
until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
connectionState
- The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The
connection stays in the ordering state until the owner of the hosted connection confirms or declines the
connection order.
requested
: The initial state of a standard connection. The connection stays in the requested
state until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the
rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ConnectionState
public String getConnectionState()
The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The connection
stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
requested
: The initial state of a standard connection. The connection stays in the requested state
until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ordering
: The initial state of a hosted connection provisioned on an interconnect. The
connection stays in the ordering state until the owner of the hosted connection confirms or declines the
connection order.
requested
: The initial state of a standard connection. The connection stays in the requested
state until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the
rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ConnectionState
public AssociateHostedConnectionResult withConnectionState(String connectionState)
The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The connection
stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
requested
: The initial state of a standard connection. The connection stays in the requested state
until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
connectionState
- The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The
connection stays in the ordering state until the owner of the hosted connection confirms or declines the
connection order.
requested
: The initial state of a standard connection. The connection stays in the requested
state until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the
rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ConnectionState
public void setConnectionState(ConnectionState connectionState)
The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The connection
stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
requested
: The initial state of a standard connection. The connection stays in the requested state
until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
connectionState
- The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The
connection stays in the ordering state until the owner of the hosted connection confirms or declines the
connection order.
requested
: The initial state of a standard connection. The connection stays in the requested
state until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the
rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ConnectionState
public AssociateHostedConnectionResult withConnectionState(ConnectionState connectionState)
The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The connection
stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
requested
: The initial state of a standard connection. The connection stays in the requested state
until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
connectionState
- The state of the connection. The following are the possible values:
ordering
: The initial state of a hosted connection provisioned on an interconnect. The
connection stays in the ordering state until the owner of the hosted connection confirms or declines the
connection order.
requested
: The initial state of a standard connection. The connection stays in the requested
state until the Letter of Authorization (LOA) is sent to the customer.
pending
: The connection has been approved and is being initialized.
available
: The network link is up and the connection is ready for use.
down
: The network link is down.
deleting
: The connection is being deleted.
deleted
: The connection has been deleted.
rejected
: A hosted connection in the ordering
state enters the
rejected
state if it is deleted by the customer.
unknown
: The state of the connection is not available.
ConnectionState
public void setRegion(String region)
The Amazon Web Services Region where the connection is located.
region
- The Amazon Web Services Region where the connection is located.public String getRegion()
The Amazon Web Services Region where the connection is located.
public AssociateHostedConnectionResult withRegion(String region)
The Amazon Web Services Region where the connection is located.
region
- The Amazon Web Services Region where the connection is located.public void setLocation(String location)
The location of the connection.
location
- The location of the connection.public String getLocation()
The location of the connection.
public AssociateHostedConnectionResult withLocation(String location)
The location of the connection.
location
- The location of the connection.public void setBandwidth(String bandwidth)
The bandwidth of the connection.
bandwidth
- The bandwidth of the connection.public String getBandwidth()
The bandwidth of the connection.
public AssociateHostedConnectionResult withBandwidth(String bandwidth)
The bandwidth of the connection.
bandwidth
- The bandwidth of the connection.public void setVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public Integer getVlan()
The ID of the VLAN.
public AssociateHostedConnectionResult withVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public void setPartnerName(String partnerName)
The name of the Direct Connect service provider associated with the connection.
partnerName
- The name of the Direct Connect service provider associated with the connection.public String getPartnerName()
The name of the Direct Connect service provider associated with the connection.
public AssociateHostedConnectionResult withPartnerName(String partnerName)
The name of the Direct Connect service provider associated with the connection.
partnerName
- The name of the Direct Connect service provider associated with the connection.public void setLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.public Date getLoaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
public AssociateHostedConnectionResult withLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.public void setLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public String getLagId()
The ID of the LAG.
public AssociateHostedConnectionResult withLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public void setAwsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
awsDevice
- The Direct Connect endpoint on which the physical connection terminates.public String getAwsDevice()
The Direct Connect endpoint on which the physical connection terminates.
public AssociateHostedConnectionResult withAwsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
awsDevice
- The Direct Connect endpoint on which the physical connection terminates.public void setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean getJumboFrameCapable()
Indicates whether jumbo frames are supported.
public AssociateHostedConnectionResult withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean isJumboFrameCapable()
Indicates whether jumbo frames are supported.
public void setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.public String getAwsDeviceV2()
The Direct Connect endpoint that terminates the physical connection.
public AssociateHostedConnectionResult withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.public void setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.public String getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
public AssociateHostedConnectionResult withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.public void setHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public String getHasLogicalRedundancy()
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
HasLogicalRedundancy
public AssociateHostedConnectionResult withHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public void setHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public AssociateHostedConnectionResult withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public List<Tag> getTags()
The tags associated with the connection.
public void setTags(Collection<Tag> tags)
The tags associated with the connection.
tags
- The tags associated with the connection.public AssociateHostedConnectionResult withTags(Tag... tags)
The tags associated with the connection.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the connection.public AssociateHostedConnectionResult withTags(Collection<Tag> tags)
The tags associated with the connection.
tags
- The tags associated with the connection.public void setProviderName(String providerName)
The name of the service provider associated with the connection.
providerName
- The name of the service provider associated with the connection.public String getProviderName()
The name of the service provider associated with the connection.
public AssociateHostedConnectionResult withProviderName(String providerName)
The name of the service provider associated with the connection.
providerName
- The name of the service provider associated with the connection.public void setMacSecCapable(Boolean macSecCapable)
Indicates whether the connection supports MAC Security (MACsec).
macSecCapable
- Indicates whether the connection supports MAC Security (MACsec).public Boolean getMacSecCapable()
Indicates whether the connection supports MAC Security (MACsec).
public AssociateHostedConnectionResult withMacSecCapable(Boolean macSecCapable)
Indicates whether the connection supports MAC Security (MACsec).
macSecCapable
- Indicates whether the connection supports MAC Security (MACsec).public Boolean isMacSecCapable()
Indicates whether the connection supports MAC Security (MACsec).
public void setPortEncryptionStatus(String portEncryptionStatus)
The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up
, which means that there is an active Connection Key Name, or
Encryption Down
.
portEncryptionStatus
- The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up
, which means that there is an active Connection Key Name,
or Encryption Down
.
public String getPortEncryptionStatus()
The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up
, which means that there is an active Connection Key Name, or
Encryption Down
.
The valid values are Encryption Up
, which means that there is an active Connection Key Name,
or Encryption Down
.
public AssociateHostedConnectionResult withPortEncryptionStatus(String portEncryptionStatus)
The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up
, which means that there is an active Connection Key Name, or
Encryption Down
.
portEncryptionStatus
- The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up
, which means that there is an active Connection Key Name,
or Encryption Down
.
public void setEncryptionMode(String encryptionMode)
The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
encryptionMode
- The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public String getEncryptionMode()
The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public AssociateHostedConnectionResult withEncryptionMode(String encryptionMode)
The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
encryptionMode
- The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public List<MacSecKey> getMacSecKeys()
The MAC Security (MACsec) security keys associated with the connection.
public void setMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
macSecKeys
- The MAC Security (MACsec) security keys associated with the connection.public AssociateHostedConnectionResult withMacSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
NOTE: This method appends the values to the existing list (if any). Use
setMacSecKeys(java.util.Collection)
or withMacSecKeys(java.util.Collection)
if you want to
override the existing values.
macSecKeys
- The MAC Security (MACsec) security keys associated with the connection.public AssociateHostedConnectionResult withMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
macSecKeys
- The MAC Security (MACsec) security keys associated with the connection.public String toString()
toString
in class Object
Object.toString()
public AssociateHostedConnectionResult clone()