@Generated(value="software.amazon.awssdk:codegen") public final class DBInstanceAutomatedBackup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBInstanceAutomatedBackup.Builder,DBInstanceAutomatedBackup>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
DBInstanceAutomatedBackup.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
|
String |
availabilityZone()
The Availability Zone that the automated backup was created in.
|
Integer |
backupRetentionPeriod()
The retention period for the automated backups.
|
String |
backupTarget()
Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
|
static DBInstanceAutomatedBackup.Builder |
builder() |
String |
dbInstanceArn()
The Amazon Resource Name (ARN) for the automated backups.
|
String |
dbInstanceAutomatedBackupsArn()
The Amazon Resource Name (ARN) for the replicated automated backups.
|
List<DBInstanceAutomatedBackupsReplication> |
dbInstanceAutomatedBackupsReplications()
The list of replications to different Amazon Web Services Regions associated with the automated backup.
|
String |
dbInstanceIdentifier()
The customer id of the instance that is/was associated with the automated backup.
|
String |
dbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services
Region.
|
Boolean |
encrypted()
Specifies whether the automated backup is encrypted.
|
String |
engine()
The name of the database engine for this automated backup.
|
String |
engineVersion()
The version of the database engine for the automated backup.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDbInstanceAutomatedBackupsReplications()
For responses, this returns true if the service returned a value for the DBInstanceAutomatedBackupsReplications
property.
|
int |
hashCode() |
Boolean |
iamDatabaseAuthenticationEnabled()
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is
enabled, and otherwise false.
|
Instant |
instanceCreateTime()
Provides the date and time that the DB instance was created.
|
Integer |
iops()
The IOPS (I/O operations per second) value for the automated backup.
|
String |
kmsKeyId()
The Amazon Web Services KMS key ID for an automated backup.
|
String |
licenseModel()
License model information for the automated backup.
|
String |
masterUsername()
The license model of an automated backup.
|
String |
optionGroupName()
The option group the automated backup is associated with.
|
Integer |
port()
The port number that the automated backup used for connections.
|
String |
region()
The Amazon Web Services Region associated with the automated backup.
|
RestoreWindow |
restoreWindow()
Earliest and latest time an instance can be restored to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBInstanceAutomatedBackup.Builder> |
serializableBuilderClass() |
String |
status()
Provides a list of status information for an automated backup:
|
String |
storageType()
Specifies the storage type associated with the automated backup.
|
String |
tdeCredentialArn()
The ARN from the key store with which the automated backup is associated for TDE encryption.
|
String |
timezone()
The time zone of the automated backup.
|
DBInstanceAutomatedBackup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
Provides the VPC ID associated with the DB instance
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String dbInstanceArn()
The Amazon Resource Name (ARN) for the automated backups.
public final String dbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
public final String region()
The Amazon Web Services Region associated with the automated backup.
public final String dbInstanceIdentifier()
The customer id of the instance that is/was associated with the automated backup.
public final RestoreWindow restoreWindow()
Earliest and latest time an instance can be restored to.
public final Integer allocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
public final 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.
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 final Integer port()
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 final String availabilityZone()
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.
public final String vpcId()
Provides the VPC ID associated with the DB instance
public final Instant instanceCreateTime()
Provides the date and time that the DB instance was created.
public final String masterUsername()
The license model of an automated backup.
public final String engine()
The name of the database engine for this automated backup.
public final String engineVersion()
The version of the database engine for the automated backup.
public final String licenseModel()
License model information for the automated backup.
public final Integer iops()
The IOPS (I/O operations per second) value for the automated backup.
public final String optionGroupName()
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
public final String tdeCredentialArn()
The ARN from the key store with which the automated backup is associated for TDE encryption.
public final Boolean encrypted()
Specifies whether the automated backup is encrypted.
public final String storageType()
Specifies the storage type associated with the automated backup.
public final String kmsKeyId()
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.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
public final 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
element is empty.
Timezone
content appears only for Microsoft SQL Server DB instances that were created with a
time zone specified.public final Boolean iamDatabaseAuthenticationEnabled()
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public final Integer backupRetentionPeriod()
The retention period for the automated backups.
public final String dbInstanceAutomatedBackupsArn()
The Amazon Resource Name (ARN) for the replicated automated backups.
public final boolean hasDbInstanceAutomatedBackupsReplications()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<DBInstanceAutomatedBackupsReplication> dbInstanceAutomatedBackupsReplications()
The list of replications to different Amazon Web Services Regions associated with the automated backup.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDbInstanceAutomatedBackupsReplications()
method.
public final String backupTarget()
Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
public DBInstanceAutomatedBackup.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DBInstanceAutomatedBackup.Builder,DBInstanceAutomatedBackup>
public static DBInstanceAutomatedBackup.Builder builder()
public static Class<? extends DBInstanceAutomatedBackup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.