/* * 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.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides details about an Amazon RDS DB cluster snapshot. *

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

* The name or ARN of the DB snapshot that is used to restore the DB instance. *

*/ private String dbSnapshotIdentifier; /** *

* A name for the DB instance. *

*/ private String dbInstanceIdentifier; /** *

* When the snapshot was taken in Coordinated Universal Time (UTC). *

*/ private String snapshotCreateTime; /** *

* The name of the database engine to use for this DB instance. Valid values are as follows: *

* */ private String engine; /** *

* The amount of storage (in gigabytes) to be initially allocated for the database instance. *

*/ private Integer allocatedStorage; /** *

* The status of this DB snapshot. *

*/ private String status; /** *

* The port that the database engine was listening on at the time of the snapshot. *

*/ private Integer port; /** *

* Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot. *

*/ private String availabilityZone; /** *

* The VPC ID associated with the DB snapshot. *

*/ private String vpcId; /** *

* Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, * was created. *

*/ private String instanceCreateTime; /** *

* The master user name for the DB snapshot. *

*/ private String masterUsername; /** *

* The version of the database engine. *

*/ private String engineVersion; /** *

* License model information for the restored DB instance. *

*/ private String licenseModel; /** *

* The type of the DB snapshot. *

*/ private String snapshotType; /** *

* The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. *

*/ private Integer iops; /** *

* The option group name for the DB snapshot. *

*/ private String optionGroupName; /** *

* The percentage of the estimated data that has been transferred. *

*/ private Integer percentProgress; /** *

* The Amazon Web Services Region that the DB snapshot was created in or copied from. *

*/ private String sourceRegion; /** *

* The DB snapshot ARN that the DB snapshot was copied from. *

*/ private String sourceDbSnapshotIdentifier; /** *

* The storage type associated with the DB snapshot. Valid values are as follows: *

* */ private String storageType; /** *

* The ARN from the key store with which to associate the instance for TDE encryption. *

*/ private String tdeCredentialArn; /** *

* Whether the DB snapshot is encrypted. *

*/ private Boolean encrypted; /** *

* If Encrypted is true, the KMS key identifier for the encrypted DB snapshot. *

*/ private String kmsKeyId; /** *

* The time zone of the DB snapshot. *

*/ private String timezone; /** *

* Whether mapping of IAM accounts to database accounts is enabled. *

*/ private Boolean iamDatabaseAuthenticationEnabled; /** *

* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

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

* The identifier for the source DB instance. *

*/ private String dbiResourceId; /** *

* The name or ARN of the DB snapshot that is used to restore the DB instance. *

* * @param dbSnapshotIdentifier * The name or ARN of the DB snapshot that is used to restore the DB instance. */ public void setDbSnapshotIdentifier(String dbSnapshotIdentifier) { this.dbSnapshotIdentifier = dbSnapshotIdentifier; } /** *

* The name or ARN of the DB snapshot that is used to restore the DB instance. *

* * @return The name or ARN of the DB snapshot that is used to restore the DB instance. */ public String getDbSnapshotIdentifier() { return this.dbSnapshotIdentifier; } /** *

* The name or ARN of the DB snapshot that is used to restore the DB instance. *

* * @param dbSnapshotIdentifier * The name or ARN of the DB snapshot that is used to restore the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbSnapshotDetails withDbSnapshotIdentifier(String dbSnapshotIdentifier) { setDbSnapshotIdentifier(dbSnapshotIdentifier); return this; } /** *

* A name for the DB instance. *

* * @param dbInstanceIdentifier * A name for the DB instance. */ public void setDbInstanceIdentifier(String dbInstanceIdentifier) { this.dbInstanceIdentifier = dbInstanceIdentifier; } /** *

* A name for the DB instance. *

* * @return A name for the DB instance. */ public String getDbInstanceIdentifier() { return this.dbInstanceIdentifier; } /** *

* A name for the DB instance. *

* * @param dbInstanceIdentifier * A name for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbSnapshotDetails withDbInstanceIdentifier(String dbInstanceIdentifier) { setDbInstanceIdentifier(dbInstanceIdentifier); return this; } /** *

* When the snapshot was taken in Coordinated Universal Time (UTC). *

* * @param snapshotCreateTime * When the snapshot was taken in Coordinated Universal Time (UTC). */ public void setSnapshotCreateTime(String snapshotCreateTime) { this.snapshotCreateTime = snapshotCreateTime; } /** *

* When the snapshot was taken in Coordinated Universal Time (UTC). *

* * @return When the snapshot was taken in Coordinated Universal Time (UTC). */ public String getSnapshotCreateTime() { return this.snapshotCreateTime; } /** *

* When the snapshot was taken in Coordinated Universal Time (UTC). *

* * @param snapshotCreateTime * When the snapshot was taken in Coordinated Universal Time (UTC). * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbSnapshotDetails withSnapshotCreateTime(String snapshotCreateTime) { setSnapshotCreateTime(snapshotCreateTime); return this; } /** *

* The name of the database engine to use for this DB instance. Valid values are as follows: *

* * * @param engine * The name of the database engine to use for this DB instance. Valid values are as follows:

*