Class MacSecKey
- java.lang.Object
-
- software.amazon.awssdk.services.directconnect.model.MacSecKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MacSecKey.Builder,MacSecKey>
@Generated("software.amazon.awssdk:codegen") public final class MacSecKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MacSecKey.Builder,MacSecKey>
Information about the MAC Security (MACsec) secret key.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMacSecKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacSecKey.Builderbuilder()Stringckn()The Connection Key Name (CKN) for the MAC Security secret key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsecretARN()The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.static Class<? extends MacSecKey.Builder>serializableBuilderClass()StringstartOn()The date that the MAC Security (MACsec) secret key takes effect.Stringstate()The state of the MAC Security (MACsec) secret key.MacSecKey.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
secretARN
public final String secretARN()
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
- Returns:
- The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
-
ckn
public final String ckn()
The Connection Key Name (CKN) for the MAC Security secret key.
- Returns:
- The Connection Key Name (CKN) for the MAC Security secret key.
-
state
public final String state()
The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. -
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. -
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG -
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
- Returns:
- The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. -
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. -
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG -
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
-
-
-
startOn
public final String startOn()
The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
- Returns:
- The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
-
toBuilder
public MacSecKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MacSecKey.Builder,MacSecKey>
-
builder
public static MacSecKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends MacSecKey.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-