@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateMacSecKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| AssociateMacSecKeyResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| AssociateMacSecKeyResult | clone() | 
| boolean | equals(Object obj) | 
| String | getConnectionId()
 The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). | 
| List<MacSecKey> | getMacSecKeys()
 The MAC Security (MACsec) security keys associated with the dedicated connection. | 
| int | hashCode() | 
| void | setConnectionId(String connectionId)
 The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). | 
| void | setMacSecKeys(Collection<MacSecKey> macSecKeys)
 The MAC Security (MACsec) security keys associated with the dedicated connection. | 
| String | toString()Returns a string representation of this object. | 
| AssociateMacSecKeyResult | withConnectionId(String connectionId)
 The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). | 
| AssociateMacSecKeyResult | withMacSecKeys(Collection<MacSecKey> macSecKeys)
 The MAC Security (MACsec) security keys associated with the dedicated connection. | 
| AssociateMacSecKeyResult | withMacSecKeys(MacSecKey... macSecKeys)
 The MAC Security (MACsec) security keys associated with the dedicated connection. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
connectionId - The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).public String getConnectionId()
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
public AssociateMacSecKeyResult withConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
connectionId - The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).public List<MacSecKey> getMacSecKeys()
The MAC Security (MACsec) security keys associated with the dedicated connection.
public void setMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.public AssociateMacSecKeyResult withMacSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated 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 dedicated connection.public AssociateMacSecKeyResult withMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.public String toString()
toString in class ObjectObject.toString()public AssociateMacSecKeyResult clone()