/* * 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.connect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The encryption configuration. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig implements Serializable, Cloneable, StructuredPojo { /** ** The type of encryption. *
*/ private String encryptionType; /** ** The full ARN of the encryption key. *
** Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of
* SYMMETRIC_DEFAULT
.
*
* The type of encryption. *
* * @param encryptionType * The type of encryption. * @see EncryptionType */ public void setEncryptionType(String encryptionType) { this.encryptionType = encryptionType; } /** ** The type of encryption. *
* * @return The type of encryption. * @see EncryptionType */ public String getEncryptionType() { return this.encryptionType; } /** ** The type of encryption. *
* * @param encryptionType * The type of encryption. * @return Returns a reference to this object so that method calls can be chained together. * @see EncryptionType */ public EncryptionConfig withEncryptionType(String encryptionType) { setEncryptionType(encryptionType); return this; } /** ** The type of encryption. *
* * @param encryptionType * The type of encryption. * @return Returns a reference to this object so that method calls can be chained together. * @see EncryptionType */ public EncryptionConfig withEncryptionType(EncryptionType encryptionType) { this.encryptionType = encryptionType.toString(); return this; } /** ** The full ARN of the encryption key. *
** Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of
* SYMMETRIC_DEFAULT
.
*
* Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT
.
*
* The full ARN of the encryption key. *
** Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of
* SYMMETRIC_DEFAULT
.
*
* Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT
.
*
* The full ARN of the encryption key. *
** Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of
* SYMMETRIC_DEFAULT
.
*
* Be sure to provide the full ARN of the encryption key, not just the ID. *
*
* Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT
.
*