/* * 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.accessanalyzer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The proposed access control configuration for an Amazon RDS DB cluster snapshot. You can propose a configuration for
* a new Amazon RDS DB cluster snapshot or an Amazon RDS DB cluster snapshot that you own by specifying the
* RdsDbClusterSnapshotAttributeValue
and optional KMS encryption key. For more information, see ModifyDBClusterSnapshotAttribute.
*
* The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to
* authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for
* AttributeName
for the attribute map is restore
*
* The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, * key ID, alias ARN, or alias name for the KMS key. *
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
, then
* the access preview considers the snapshot as unencrypted.
*
* The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to
* authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for
* AttributeName
for the attribute map is restore
*
AttributeName
for the attribute map is restore
*/
public java.util.Map
* The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to
* authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for
* AttributeName
for the attribute map is restore
*
AttributeName
for the attribute map is restore
*/
public void setAttributes(java.util.Map
* The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to
* authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for
* AttributeName
for the attribute map is restore
*
AttributeName
for the attribute map is restore
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RdsDbClusterSnapshotConfiguration withAttributes(java.util.Map* The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, * key ID, alias ARN, or alias name for the KMS key. *
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
, then
* the access preview considers the snapshot as unencrypted.
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
,
* then the access preview considers the snapshot as unencrypted.
*
* The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, * key ID, alias ARN, or alias name for the KMS key. *
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
, then
* the access preview considers the snapshot as unencrypted.
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
,
* then the access preview considers the snapshot as unencrypted.
*
* The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, * key ID, alias ARN, or alias name for the KMS key. *
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
, then
* the access preview considers the snapshot as unencrypted.
*
* If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the
* kmsKeyId
, or you specify an empty string, then the access preview uses the existing
* kmsKeyId
of the snapshot.
*
* If the access preview is for a new resource and you do not specify the specify the kmsKeyId
,
* then the access preview considers the snapshot as unencrypted.
*