/* * 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 EBS volume snapshot. You can propose a configuration for a * new Amazon EBS volume snapshot or an Amazon EBS volume snapshot that you own by specifying the user IDs, groups, and * optional KMS encryption key. For more information, see ModifySnapshotAttribute. *

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

* The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot. *

* */ private java.util.List userIds; /** *

* The groups that have access to the Amazon EBS volume snapshot. If the value all is specified, then * the Amazon EBS volume snapshot is public. *

* */ private java.util.List groups; /** *

* The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key identifier is the key ARN, key * ID, alias ARN, or alias name for the KMS key. *

* */ private String kmsKeyId; /** *

* The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot. *

* * * @return The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.

*