Class MacSecKey

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)