/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.directconnect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Information about the MAC Security (MACsec) secret key. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MacSecKey implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. *

*/ private String secretARN; /** *

* The Connection Key Name (CKN) for the MAC Security secret key. *

*/ private String ckn; /** *

* The state of the MAC Security (MACsec) secret key. *

*

* The possible values are: *

* */ private String state; /** *

* The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format. *

*/ private String startOn; /** *

* The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. *

* * @param secretARN * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. */ public void setSecretARN(String secretARN) { this.secretARN = secretARN; } /** *

* The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. *

* * @return The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. */ public String getSecretARN() { return this.secretARN; } /** *

* The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. *

* * @param secretARN * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. * @return Returns a reference to this object so that method calls can be chained together. */ public MacSecKey withSecretARN(String secretARN) { setSecretARN(secretARN); return this; } /** *

* The Connection Key Name (CKN) for the MAC Security secret key. *

* * @param ckn * The Connection Key Name (CKN) for the MAC Security secret key. */ public void setCkn(String ckn) { this.ckn = ckn; } /** *

* The Connection Key Name (CKN) for the MAC Security secret key. *

* * @return The Connection Key Name (CKN) for the MAC Security secret key. */ public String getCkn() { return this.ckn; } /** *

* The Connection Key Name (CKN) for the MAC Security secret key. *

* * @param ckn * The Connection Key Name (CKN) for the MAC Security secret key. * @return Returns a reference to this object so that method calls can be chained together. */ public MacSecKey withCkn(String ckn) { setCkn(ckn); return this; } /** *

* The state of the MAC Security (MACsec) secret key. *

*

* The possible values are: *

* * * @param state * The state of the MAC Security (MACsec) secret key.

*

* The possible values are: *

*