@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBInstanceAutomatedBackup extends Object implements Serializable, Cloneable
An automated backup of a DB instance. It it consists of system backups, transaction logs, and the database instance properties that existed at the time you deleted the source instance.
Constructor and Description |
---|
DBInstanceAutomatedBackup() |
Modifier and Type | Method and Description |
---|---|
DBInstanceAutomatedBackup |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
|
String |
getAvailabilityZone()
The Availability Zone that the automated backup was created in.
|
String |
getDBInstanceArn()
The Amazon Resource Name (ARN) for the automated backup.
|
String |
getDBInstanceIdentifier()
The customer id of the instance that is/was associated with the automated backup.
|
String |
getDbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
|
Boolean |
getEncrypted()
Specifies whether the automated backup is encrypted.
|
String |
getEngine()
The name of the database engine for this automated backup.
|
String |
getEngineVersion()
The version of the database engine for the automated backup.
|
Boolean |
getIAMDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
Date |
getInstanceCreateTime()
Provides the date and time that the DB instance was created.
|
Integer |
getIops()
The IOPS (I/O operations per second) value for the automated backup.
|
String |
getKmsKeyId()
The AWS KMS key ID for an automated backup.
|
String |
getLicenseModel()
License model information for the automated backup.
|
String |
getMasterUsername()
The license model of an automated backup.
|
String |
getOptionGroupName()
The option group the automated backup is associated with.
|
Integer |
getPort()
The port number that the automated backup used for connections.
|
String |
getRegion()
The AWS Region associated with the automated backup.
|
RestoreWindow |
getRestoreWindow()
Earliest and latest time an instance can be restored to.
|
String |
getStatus()
Provides a list of status information for an automated backup:
|
String |
getStorageType()
Specifies the storage type associated with the automated backup.
|
String |
getTdeCredentialArn()
The ARN from the key store with which the automated backup is associated for TDE encryption.
|
String |
getTimezone()
The time zone of the automated backup.
|
String |
getVpcId()
Provides the VPC ID associated with the DB instance
|
int |
hashCode() |
Boolean |
isEncrypted()
Specifies whether the automated backup is encrypted.
|
Boolean |
isIAMDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
void |
setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone that the automated backup was created in.
|
void |
setDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the automated backup.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The customer id of the instance that is/was associated with the automated backup.
|
void |
setDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
|
void |
setEncrypted(Boolean encrypted)
Specifies whether the automated backup is encrypted.
|
void |
setEngine(String engine)
The name of the database engine for this automated backup.
|
void |
setEngineVersion(String engineVersion)
The version of the database engine for the automated backup.
|
void |
setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
void |
setInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
|
void |
setIops(Integer iops)
The IOPS (I/O operations per second) value for the automated backup.
|
void |
setKmsKeyId(String kmsKeyId)
The AWS KMS key ID for an automated backup.
|
void |
setLicenseModel(String licenseModel)
License model information for the automated backup.
|
void |
setMasterUsername(String masterUsername)
The license model of an automated backup.
|
void |
setOptionGroupName(String optionGroupName)
The option group the automated backup is associated with.
|
void |
setPort(Integer port)
The port number that the automated backup used for connections.
|
void |
setRegion(String region)
The AWS Region associated with the automated backup.
|
void |
setRestoreWindow(RestoreWindow restoreWindow)
Earliest and latest time an instance can be restored to.
|
void |
setStatus(String status)
Provides a list of status information for an automated backup:
|
void |
setStorageType(String storageType)
Specifies the storage type associated with the automated backup.
|
void |
setTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which the automated backup is associated for TDE encryption.
|
void |
setTimezone(String timezone)
The time zone of the automated backup.
|
void |
setVpcId(String vpcId)
Provides the VPC ID associated with the DB instance
|
String |
toString()
Returns a string representation of this object.
|
DBInstanceAutomatedBackup |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
|
DBInstanceAutomatedBackup |
withAvailabilityZone(String availabilityZone)
The Availability Zone that the automated backup was created in.
|
DBInstanceAutomatedBackup |
withDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the automated backup.
|
DBInstanceAutomatedBackup |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The customer id of the instance that is/was associated with the automated backup.
|
DBInstanceAutomatedBackup |
withDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
|
DBInstanceAutomatedBackup |
withEncrypted(Boolean encrypted)
Specifies whether the automated backup is encrypted.
|
DBInstanceAutomatedBackup |
withEngine(String engine)
The name of the database engine for this automated backup.
|
DBInstanceAutomatedBackup |
withEngineVersion(String engineVersion)
The version of the database engine for the automated backup.
|
DBInstanceAutomatedBackup |
withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
DBInstanceAutomatedBackup |
withInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
|
DBInstanceAutomatedBackup |
withIops(Integer iops)
The IOPS (I/O operations per second) value for the automated backup.
|
DBInstanceAutomatedBackup |
withKmsKeyId(String kmsKeyId)
The AWS KMS key ID for an automated backup.
|
DBInstanceAutomatedBackup |
withLicenseModel(String licenseModel)
License model information for the automated backup.
|
DBInstanceAutomatedBackup |
withMasterUsername(String masterUsername)
The license model of an automated backup.
|
DBInstanceAutomatedBackup |
withOptionGroupName(String optionGroupName)
The option group the automated backup is associated with.
|
DBInstanceAutomatedBackup |
withPort(Integer port)
The port number that the automated backup used for connections.
|
DBInstanceAutomatedBackup |
withRegion(String region)
The AWS Region associated with the automated backup.
|
DBInstanceAutomatedBackup |
withRestoreWindow(RestoreWindow restoreWindow)
Earliest and latest time an instance can be restored to.
|
DBInstanceAutomatedBackup |
withStatus(String status)
Provides a list of status information for an automated backup:
|
DBInstanceAutomatedBackup |
withStorageType(String storageType)
Specifies the storage type associated with the automated backup.
|
DBInstanceAutomatedBackup |
withTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which the automated backup is associated for TDE encryption.
|
DBInstanceAutomatedBackup |
withTimezone(String timezone)
The time zone of the automated backup.
|
DBInstanceAutomatedBackup |
withVpcId(String vpcId)
Provides the VPC ID associated with the DB instance
|
public void setDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the automated backup.
dBInstanceArn
- The Amazon Resource Name (ARN) for the automated backup.public String getDBInstanceArn()
The Amazon Resource Name (ARN) for the automated backup.
public DBInstanceAutomatedBackup withDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the automated backup.
dBInstanceArn
- The Amazon Resource Name (ARN) for the automated backup.public void setDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
dbiResourceId
- The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.public String getDbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
public DBInstanceAutomatedBackup withDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
dbiResourceId
- The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.public void setRegion(String region)
The AWS Region associated with the automated backup.
region
- The AWS Region associated with the automated backup.public String getRegion()
The AWS Region associated with the automated backup.
public DBInstanceAutomatedBackup withRegion(String region)
The AWS Region associated with the automated backup.
region
- The AWS Region associated with the automated backup.public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The customer id of the instance that is/was associated with the automated backup.
dBInstanceIdentifier
- The customer id of the instance that is/was associated with the automated backup.public String getDBInstanceIdentifier()
The customer id of the instance that is/was associated with the automated backup.
public DBInstanceAutomatedBackup withDBInstanceIdentifier(String dBInstanceIdentifier)
The customer id of the instance that is/was associated with the automated backup.
dBInstanceIdentifier
- The customer id of the instance that is/was associated with the automated backup.public void setRestoreWindow(RestoreWindow restoreWindow)
Earliest and latest time an instance can be restored to.
restoreWindow
- Earliest and latest time an instance can be restored to.public RestoreWindow getRestoreWindow()
Earliest and latest time an instance can be restored to.
public DBInstanceAutomatedBackup withRestoreWindow(RestoreWindow restoreWindow)
Earliest and latest time an instance can be restored to.
restoreWindow
- Earliest and latest time an instance can be restored to.public void setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).public Integer getAllocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
public DBInstanceAutomatedBackup withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).public void setStatus(String status)
Provides a list of status information for an automated backup:
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be available.
status
- Provides a list of status information for an automated backup:
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be
available.
public String getStatus()
Provides a list of status information for an automated backup:
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be available.
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be
available.
public DBInstanceAutomatedBackup withStatus(String status)
Provides a list of status information for an automated backup:
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be available.
status
- Provides a list of status information for an automated backup:
active
- automated backups for current instances
retained
- automated backups for deleted instances
creating
- automated backups that are waiting for the first automated snapshot to be
available.
public void setPort(Integer port)
The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
port
- The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
public Integer getPort()
The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
Default: Inherits from the source DB instance
Valid Values: 1150-65535
public DBInstanceAutomatedBackup withPort(Integer port)
The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
port
- The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
public void setAvailabilityZone(String availabilityZone)
The Availability Zone that the automated backup was created in. For information on AWS Regions and Availability Zones, see Regions and Availability Zones.
availabilityZone
- The Availability Zone that the automated backup was created in. For information on AWS Regions and
Availability Zones, see Regions and Availability Zones.public String getAvailabilityZone()
The Availability Zone that the automated backup was created in. For information on AWS Regions and Availability Zones, see Regions and Availability Zones.
public DBInstanceAutomatedBackup withAvailabilityZone(String availabilityZone)
The Availability Zone that the automated backup was created in. For information on AWS Regions and Availability Zones, see Regions and Availability Zones.
availabilityZone
- The Availability Zone that the automated backup was created in. For information on AWS Regions and
Availability Zones, see Regions and Availability Zones.public void setVpcId(String vpcId)
Provides the VPC ID associated with the DB instance
vpcId
- Provides the VPC ID associated with the DB instancepublic String getVpcId()
Provides the VPC ID associated with the DB instance
public DBInstanceAutomatedBackup withVpcId(String vpcId)
Provides the VPC ID associated with the DB instance
vpcId
- Provides the VPC ID associated with the DB instancepublic void setInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
instanceCreateTime
- Provides the date and time that the DB instance was created.public Date getInstanceCreateTime()
Provides the date and time that the DB instance was created.
public DBInstanceAutomatedBackup withInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
instanceCreateTime
- Provides the date and time that the DB instance was created.public void setMasterUsername(String masterUsername)
The license model of an automated backup.
masterUsername
- The license model of an automated backup.public String getMasterUsername()
The license model of an automated backup.
public DBInstanceAutomatedBackup withMasterUsername(String masterUsername)
The license model of an automated backup.
masterUsername
- The license model of an automated backup.public void setEngine(String engine)
The name of the database engine for this automated backup.
engine
- The name of the database engine for this automated backup.public String getEngine()
The name of the database engine for this automated backup.
public DBInstanceAutomatedBackup withEngine(String engine)
The name of the database engine for this automated backup.
engine
- The name of the database engine for this automated backup.public void setEngineVersion(String engineVersion)
The version of the database engine for the automated backup.
engineVersion
- The version of the database engine for the automated backup.public String getEngineVersion()
The version of the database engine for the automated backup.
public DBInstanceAutomatedBackup withEngineVersion(String engineVersion)
The version of the database engine for the automated backup.
engineVersion
- The version of the database engine for the automated backup.public void setLicenseModel(String licenseModel)
License model information for the automated backup.
licenseModel
- License model information for the automated backup.public String getLicenseModel()
License model information for the automated backup.
public DBInstanceAutomatedBackup withLicenseModel(String licenseModel)
License model information for the automated backup.
licenseModel
- License model information for the automated backup.public void setIops(Integer iops)
The IOPS (I/O operations per second) value for the automated backup.
iops
- The IOPS (I/O operations per second) value for the automated backup.public Integer getIops()
The IOPS (I/O operations per second) value for the automated backup.
public DBInstanceAutomatedBackup withIops(Integer iops)
The IOPS (I/O operations per second) value for the automated backup.
iops
- The IOPS (I/O operations per second) value for the automated backup.public void setOptionGroupName(String optionGroupName)
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
optionGroupName
- The option group the automated backup is associated with. If omitted, the default option group for the
engine specified is used.public String getOptionGroupName()
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
public DBInstanceAutomatedBackup withOptionGroupName(String optionGroupName)
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
optionGroupName
- The option group the automated backup is associated with. If omitted, the default option group for the
engine specified is used.public void setTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which the automated backup is associated for TDE encryption.
tdeCredentialArn
- The ARN from the key store with which the automated backup is associated for TDE encryption.public String getTdeCredentialArn()
The ARN from the key store with which the automated backup is associated for TDE encryption.
public DBInstanceAutomatedBackup withTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which the automated backup is associated for TDE encryption.
tdeCredentialArn
- The ARN from the key store with which the automated backup is associated for TDE encryption.public void setEncrypted(Boolean encrypted)
Specifies whether the automated backup is encrypted.
encrypted
- Specifies whether the automated backup is encrypted.public Boolean getEncrypted()
Specifies whether the automated backup is encrypted.
public DBInstanceAutomatedBackup withEncrypted(Boolean encrypted)
Specifies whether the automated backup is encrypted.
encrypted
- Specifies whether the automated backup is encrypted.public Boolean isEncrypted()
Specifies whether the automated backup is encrypted.
public void setStorageType(String storageType)
Specifies the storage type associated with the automated backup.
storageType
- Specifies the storage type associated with the automated backup.public String getStorageType()
Specifies the storage type associated with the automated backup.
public DBInstanceAutomatedBackup withStorageType(String storageType)
Specifies the storage type associated with the automated backup.
storageType
- Specifies the storage type associated with the automated backup.public void setKmsKeyId(String kmsKeyId)
The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.
kmsKeyId
- The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon Resource Name (ARN), KMS key
identifier, or the KMS key alias for the KMS encryption key.public String getKmsKeyId()
The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.
public DBInstanceAutomatedBackup withKmsKeyId(String kmsKeyId)
The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.
kmsKeyId
- The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon Resource Name (ARN), KMS key
identifier, or the KMS key alias for the KMS encryption key.public void setTimezone(String timezone)
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.
timezone
- 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.public String getTimezone()
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.
Timezone
element is empty.
Timezone
content appears only for Microsoft SQL Server DB instances that were created with a
time zone specified.public DBInstanceAutomatedBackup withTimezone(String timezone)
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.
timezone
- 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.public void setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
iAMDatabaseAuthenticationEnabled
- True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.public Boolean getIAMDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public DBInstanceAutomatedBackup withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
iAMDatabaseAuthenticationEnabled
- True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.public Boolean isIAMDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public String toString()
toString
in class Object
Object.toString()
public DBInstanceAutomatedBackup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.