/* * 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.rds.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* An automated backup of a DB instance. It consists of system backups, transaction logs, and the database instance * properties that existed at the time you deleted the source instance. *

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

* The Amazon Resource Name (ARN) for the automated backups. *

*/ private String dBInstanceArn; /** *

* The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services * Region. *

*/ private String dbiResourceId; /** *

* The Amazon Web Services Region associated with the automated backup. *

*/ private String region; /** *

* The customer id of the instance that is/was associated with the automated backup. *

*/ private String dBInstanceIdentifier; /** *

* Earliest and latest time an instance can be restored to. *

*/ private RestoreWindow restoreWindow; /** *

* Specifies the allocated storage size in gibibytes (GiB). *

*/ private Integer allocatedStorage; /** *

* Provides a list of status information for an automated backup: *

* */ private String status; /** *

* The port number that the automated backup used for connections. *

*

* Default: Inherits from the source DB instance *

*

* Valid Values: 1150-65535 *

*/ private Integer port; /** *

* The Availability Zone that the automated backup was created in. For information on Amazon Web Services Regions * and Availability Zones, see Regions * and Availability Zones. *

*/ private String availabilityZone; /** *

* Provides the VPC ID associated with the DB instance. *

*/ private String vpcId; /** *

* Provides the date and time that the DB instance was created. *

*/ private java.util.Date instanceCreateTime; /** *

* The license model of an automated backup. *

*/ private String masterUsername; /** *

* The name of the database engine for this automated backup. *

*/ private String engine; /** *

* The version of the database engine for the automated backup. *

*/ private String engineVersion; /** *

* License model information for the automated backup. *

*/ private String licenseModel; /** *

* The IOPS (I/O operations per second) value for the automated backup. *

*/ private Integer iops; /** *

* The option group the automated backup is associated with. If omitted, the default option group for the engine * specified is used. *

*/ private String optionGroupName; /** *

* The ARN from the key store with which the automated backup is associated for TDE encryption. *

*/ private String tdeCredentialArn; /** *

* Specifies whether the automated backup is encrypted. *

*/ private Boolean encrypted; /** *

* Specifies the storage type associated with the automated backup. *

*/ private String storageType; /** *

* The Amazon Web Services KMS key ID for an automated backup. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*/ private String kmsKeyId; /** *

* The time zone of the automated backup. In most cases, the Timezone element is empty. * Timezone content appears only for Microsoft SQL Server DB instances that were created with a time * zone specified. *

*/ private String timezone; /** *

* True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is * enabled, and otherwise false. *

*/ private Boolean iAMDatabaseAuthenticationEnabled; /** *

* The retention period for the automated backups. *

*/ private Integer backupRetentionPeriod; /** *

* The Amazon Resource Name (ARN) for the replicated automated backups. *

*/ private String dBInstanceAutomatedBackupsArn; /** *

* The list of replications to different Amazon Web Services Regions associated with the automated backup. *

*/ private com.amazonaws.internal.SdkInternalList dBInstanceAutomatedBackupsReplications; /** *

* Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region. *

*/ private String backupTarget; /** *

* Specifies the storage throughput for the automated backup. *

*/ private Integer storageThroughput; /** *

* The Amazon Resource Name (ARN) for the automated backups. *

* * @param dBInstanceArn * The Amazon Resource Name (ARN) for the automated backups. */ public void setDBInstanceArn(String dBInstanceArn) { this.dBInstanceArn = dBInstanceArn; } /** *

* The Amazon Resource Name (ARN) for the automated backups. *

* * @return The Amazon Resource Name (ARN) for the automated backups. */ public String getDBInstanceArn() { return this.dBInstanceArn; } /** *

* The Amazon Resource Name (ARN) for the automated backups. *

* * @param dBInstanceArn * The Amazon Resource Name (ARN) for the automated backups. * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withDBInstanceArn(String dBInstanceArn) { setDBInstanceArn(dBInstanceArn); return this; } /** *

* The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services * Region. *

* * @param dbiResourceId * The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web * Services Region. */ public void setDbiResourceId(String dbiResourceId) { this.dbiResourceId = dbiResourceId; } /** *

* The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services * Region. *

* * @return The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web * Services Region. */ public String getDbiResourceId() { return this.dbiResourceId; } /** *

* The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services * Region. *

* * @param dbiResourceId * The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web * Services Region. * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withDbiResourceId(String dbiResourceId) { setDbiResourceId(dbiResourceId); return this; } /** *

* The Amazon Web Services Region associated with the automated backup. *

* * @param region * The Amazon Web Services Region associated with the automated backup. */ public void setRegion(String region) { this.region = region; } /** *

* The Amazon Web Services Region associated with the automated backup. *

* * @return The Amazon Web Services Region associated with the automated backup. */ public String getRegion() { return this.region; } /** *

* The Amazon Web Services Region associated with the automated backup. *

* * @param region * The Amazon Web Services Region associated with the automated backup. * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withRegion(String region) { setRegion(region); return this; } /** *

* The customer id of the instance that is/was associated with the automated backup. *

* * @param dBInstanceIdentifier * The customer id of the instance that is/was associated with the automated backup. */ public void setDBInstanceIdentifier(String dBInstanceIdentifier) { this.dBInstanceIdentifier = dBInstanceIdentifier; } /** *

* The customer id of the instance that is/was associated with the automated backup. *

* * @return The customer id of the instance that is/was associated with the automated backup. */ public String getDBInstanceIdentifier() { return this.dBInstanceIdentifier; } /** *

* The customer id of the instance that is/was associated with the automated backup. *

* * @param dBInstanceIdentifier * The customer id of the instance that is/was associated with the automated backup. * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withDBInstanceIdentifier(String dBInstanceIdentifier) { setDBInstanceIdentifier(dBInstanceIdentifier); return this; } /** *

* Earliest and latest time an instance can be restored to. *

* * @param restoreWindow * Earliest and latest time an instance can be restored to. */ public void setRestoreWindow(RestoreWindow restoreWindow) { this.restoreWindow = restoreWindow; } /** *

* Earliest and latest time an instance can be restored to. *

* * @return Earliest and latest time an instance can be restored to. */ public RestoreWindow getRestoreWindow() { return this.restoreWindow; } /** *

* Earliest and latest time an instance can be restored to. *

* * @param restoreWindow * Earliest and latest time an instance can be restored to. * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withRestoreWindow(RestoreWindow restoreWindow) { setRestoreWindow(restoreWindow); return this; } /** *

* Specifies the allocated storage size in gibibytes (GiB). *

* * @param allocatedStorage * Specifies the allocated storage size in gibibytes (GiB). */ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *

* Specifies the allocated storage size in gibibytes (GiB). *

* * @return Specifies the allocated storage size in gibibytes (GiB). */ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *

* Specifies the allocated storage size in gibibytes (GiB). *

* * @param allocatedStorage * Specifies the allocated storage size in gibibytes (GiB). * @return Returns a reference to this object so that method calls can be chained together. */ public DBInstanceAutomatedBackup withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** *

* Provides a list of status information for an automated backup: *

* * * @param status * Provides a list of status information for an automated backup:

*