@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateMacSecKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateMacSecKeyRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateMacSecKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCak()
The MAC Security (MACsec) CAK to associate with the dedicated connection.
|
String |
getCkn()
The MAC Security (MACsec) CKN to associate with the dedicated connection.
|
String |
getConnectionId()
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
|
String |
getSecretARN()
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated
connection.
|
int |
hashCode() |
void |
setCak(String cak)
The MAC Security (MACsec) CAK to associate with the dedicated connection.
|
void |
setCkn(String ckn)
The MAC Security (MACsec) CKN to associate with the dedicated connection.
|
void |
setConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
|
void |
setSecretARN(String secretARN)
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated
connection.
|
String |
toString()
Returns a string representation of this object.
|
AssociateMacSecKeyRequest |
withCak(String cak)
The MAC Security (MACsec) CAK to associate with the dedicated connection.
|
AssociateMacSecKeyRequest |
withCkn(String ckn)
The MAC Security (MACsec) CKN to associate with the dedicated connection.
|
AssociateMacSecKeyRequest |
withConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
|
AssociateMacSecKeyRequest |
withSecretARN(String secretARN)
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated
connection.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
connectionId
- The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
public String getConnectionId()
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
You can use DescribeConnections or DescribeLags to retrieve connection ID.
public AssociateMacSecKeyRequest withConnectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
connectionId
- The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
public void setSecretARN(String secretARN)
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request parameters.
secretARN
- The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated
connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request
parameters.
public String getSecretARN()
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request parameters.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request
parameters.
public AssociateMacSecKeyRequest withSecretARN(String secretARN)
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request parameters.
secretARN
- The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated
connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn
and cak
request
parameters.
public void setCkn(String ckn)
The MAC Security (MACsec) CKN to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
ckn
- The MAC Security (MACsec) CKN to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
public String getCkn()
The MAC Security (MACsec) CKN to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
public AssociateMacSecKeyRequest withCkn(String ckn)
The MAC Security (MACsec) CKN to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
ckn
- The MAC Security (MACsec) CKN to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak
request parameter and not use the
secretARN
request parameter.
public void setCak(String cak)
The MAC Security (MACsec) CAK to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
cak
- The MAC Security (MACsec) CAK to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
public String getCak()
The MAC Security (MACsec) CAK to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
public AssociateMacSecKeyRequest withCak(String cak)
The MAC Security (MACsec) CAK to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
cak
- The MAC Security (MACsec) CAK to associate with the dedicated connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn
request parameter and not use the
secretARN
request parameter.
public String toString()
toString
in class Object
Object.toString()
public AssociateMacSecKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()