* The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). *
*/ private String connectionId; /** ** The MAC Security (MACsec) security keys associated with the dedicated connection. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). *
* * @param connectionId * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). */ public void setConnectionId(String connectionId) { this.connectionId = connectionId; } /** ** The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). *
* * @return The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). */ public String getConnectionId() { return this.connectionId; } /** ** The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). *
* * @param connectionId * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateMacSecKeyResult withConnectionId(String connectionId) { setConnectionId(connectionId); return this; } /** ** The MAC Security (MACsec) security keys associated with the dedicated connection. *
* * @return The MAC Security (MACsec) security keys associated with the dedicated connection. */ public java.util.List* The MAC Security (MACsec) security keys associated with the dedicated connection. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the dedicated connection. */ public void setMacSecKeys(java.util.Collection* The MAC Security (MACsec) security keys associated with the dedicated connection. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMacSecKeys(java.util.Collection)} or {@link #withMacSecKeys(java.util.Collection)} if you want to * override the existing values. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the dedicated connection. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateMacSecKeyResult withMacSecKeys(MacSecKey... macSecKeys) { if (this.macSecKeys == null) { setMacSecKeys(new com.amazonaws.internal.SdkInternalList* The MAC Security (MACsec) security keys associated with the dedicated connection. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the dedicated connection. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateMacSecKeyResult withMacSecKeys(java.util.Collection