Class DBClusterAutomatedBackup
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DBClusterAutomatedBackup.Builder,
DBClusterAutomatedBackup>
An automated backup of a DB cluster. It consists of system backups, transaction logs, and the database cluster properties that existed at the time you deleted the source cluster.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
For all database engines except Amazon Aurora,AllocatedStorage
specifies the allocated storage size in gibibytes (GiB).The Availability Zones where instances in the DB cluster can be created.final String
The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.final Integer
The retention period for the automated backups.builder()
final Instant
The time when the DB cluster was created, in Universal Coordinated Time (UTC).final String
The Amazon Resource Name (ARN) for the source DB cluster.final String
The Amazon Resource Name (ARN) for the automated backups.final String
The identifier for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.final String
The resource ID for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.final String
engine()
The name of the database engine for this automated backup.final String
The engine mode of the database engine for the automated backup.final String
The version of the database engine for the automated backup.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AvailabilityZones property.final int
hashCode()
final Boolean
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.final Integer
iops()
The IOPS (I/O operations per second) value for the automated backup.final String
kmsKeyId()
The Amazon Web Services KMS key ID for an automated backup.final String
The license model information for this DB cluster automated backup.final String
The master user name of the automated backup.final Integer
port()
The port number that the automated backup used for connections.final String
region()
The Amazon Web Services Region associated with the automated backup.final RestoreWindow
Returns the value of the RestoreWindow property for this object.static Class
<? extends DBClusterAutomatedBackup.Builder> final String
status()
A list of status information for an automated backup:final Boolean
Indicates whether the source DB cluster is encrypted.final String
The storage type associated with the DB cluster.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
vpcId()
The VPC ID associated with the DB cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
engine
The name of the database engine for this automated backup.
- Returns:
- The name of the database engine for this automated backup.
-
vpcId
The VPC ID associated with the DB cluster.
- Returns:
- The VPC ID associated with the DB cluster.
-
dbClusterAutomatedBackupsArn
The Amazon Resource Name (ARN) for the automated backups.
- Returns:
- The Amazon Resource Name (ARN) for the automated backups.
-
dbClusterIdentifier
The identifier for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.
- Returns:
- The identifier for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.
-
restoreWindow
Returns the value of the RestoreWindow property for this object.- Returns:
- The value of the RestoreWindow property for this object.
-
masterUsername
The master user name of the automated backup.
- Returns:
- The master user name of the automated backup.
-
dbClusterResourceId
The resource ID for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.
- Returns:
- The resource ID for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.
-
region
The Amazon Web Services Region associated with the automated backup.
- Returns:
- The Amazon Web Services Region associated with the automated backup.
-
licenseModel
The license model information for this DB cluster automated backup.
- Returns:
- The license model information for this DB cluster automated backup.
-
status
A list of status information for an automated backup:
-
retained
- Automated backups for deleted clusters.
- Returns:
- A list of status information for an automated backup:
-
retained
- Automated backups for deleted clusters.
-
-
-
iamDatabaseAuthenticationEnabled
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
- Returns:
- Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
-
clusterCreateTime
The time when the DB cluster was created, in Universal Coordinated Time (UTC).
- Returns:
- The time when the DB cluster was created, in Universal Coordinated Time (UTC).
-
storageEncrypted
Indicates whether the source DB cluster is encrypted.
- Returns:
- Indicates whether the source DB cluster is encrypted.
-
allocatedStorage
For all database engines except Amazon Aurora,
AllocatedStorage
specifies the allocated storage size in gibibytes (GiB). For Aurora,AllocatedStorage
always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.- Returns:
- For all database engines except Amazon Aurora,
AllocatedStorage
specifies the allocated storage size in gibibytes (GiB). For Aurora,AllocatedStorage
always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
-
engineVersion
The version of the database engine for the automated backup.
- Returns:
- The version of the database engine for the automated backup.
-
dbClusterArn
The Amazon Resource Name (ARN) for the source DB cluster.
- Returns:
- The Amazon Resource Name (ARN) for the source DB cluster.
-
backupRetentionPeriod
The retention period for the automated backups.
- Returns:
- The retention period for the automated backups.
-
engineMode
The engine mode of the database engine for the automated backup.
- Returns:
- The engine mode of the database engine for the automated backup.
-
hasAvailabilityZones
public final boolean hasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
availabilityZones
The Availability Zones where instances in the DB cluster can be created. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.
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
hasAvailabilityZones()
method.- Returns:
- The Availability Zones where instances in the DB cluster can be created. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.
-
port
The port number that the automated backup used for connections.
Default: Inherits from the source DB cluster
Valid Values:
1150-65535
- Returns:
- The port number that the automated backup used for connections.
Default: Inherits from the source DB cluster
Valid Values:
1150-65535
-
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.
- Returns:
- 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.
-
storageType
The storage type associated with the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
- Returns:
- The storage type associated with the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
-
iops
The IOPS (I/O operations per second) value for the automated backup.
This setting is only for non-Aurora Multi-AZ DB clusters.
- Returns:
- The IOPS (I/O operations per second) value for the automated backup.
This setting is only for non-Aurora Multi-AZ DB clusters.
-
awsBackupRecoveryPointArn
The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
- Returns:
- The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DBClusterAutomatedBackup.Builder,
DBClusterAutomatedBackup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-