RelationalDatabase class
Describes a database.
Constructors
-
RelationalDatabase({String? arn, bool? backupRetentionEnabled, String? caCertificateIdentifier, DateTime? createdAt, String? engine, String? engineVersion, RelationalDatabaseHardware? hardware, DateTime? latestRestorableTime, ResourceLocation? location, String? masterDatabaseName, RelationalDatabaseEndpoint? masterEndpoint, String? masterUsername, String? name, String? parameterApplyStatus, List<
PendingMaintenanceAction> ? pendingMaintenanceActions, PendingModifiedRelationalDatabaseValues? pendingModifiedValues, String? preferredBackupWindow, String? preferredMaintenanceWindow, bool? publiclyAccessible, String? relationalDatabaseBlueprintId, String? relationalDatabaseBundleId, ResourceType? resourceType, String? secondaryAvailabilityZone, String? state, String? supportCode, List<Tag> ? tags}) -
RelationalDatabase.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the database.
final
- backupRetentionEnabled → bool?
-
A Boolean value indicating whether automated backup retention is enabled for
the database.
final
- caCertificateIdentifier → String?
-
The certificate associated with the database.
final
- createdAt → DateTime?
-
The timestamp when the database was created. Formatted in Unix time.
final
- engine → String?
-
The database software (for example,
MySQL
).final - engineVersion → String?
-
The database engine version (for example,
5.7.23
).final - hardware → RelationalDatabaseHardware?
-
Describes the hardware of the database.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestRestorableTime → DateTime?
-
The latest point in time to which the database can be restored. Formatted in
Unix time.
final
- location → ResourceLocation?
-
The Region name and Availability Zone where the database is located.
final
- masterDatabaseName → String?
-
The name of the master database created when the Lightsail database resource
is created.
final
- masterEndpoint → RelationalDatabaseEndpoint?
-
The master endpoint for the database.
final
- masterUsername → String?
-
The master user name of the database.
final
- name → String?
-
The unique name of the database resource in Lightsail.
final
- parameterApplyStatus → String?
-
The status of parameter updates for the database.
final
-
pendingMaintenanceActions
→ List<
PendingMaintenanceAction> ? -
Describes the pending maintenance actions for the database.
final
- pendingModifiedValues → PendingModifiedRelationalDatabaseValues?
-
Describes pending database value modifications.
final
- preferredBackupWindow → String?
-
The daily time range during which automated backups are created for the
database (for example,
16:00-16:30
).final - preferredMaintenanceWindow → String?
-
The weekly time range during which system maintenance can occur on the
database.
final
- publiclyAccessible → bool?
-
A Boolean value indicating whether the database is publicly accessible.
final
- relationalDatabaseBlueprintId → String?
-
The blueprint ID for the database. A blueprint describes the major engine
version of a database.
final
- relationalDatabaseBundleId → String?
-
The bundle ID for the database. A bundle describes the performance
specifications for your database.
final
- resourceType → ResourceType?
-
The Lightsail resource type for the database (for example,
RelationalDatabase
).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryAvailabilityZone → String?
-
Describes the secondary Availability Zone of a high availability database.
final
- state → String?
-
Describes the current state of the database.
final
- supportCode → String?
-
The support code for the database. Include this code in your email to
support when you have questions about a database in Lightsail. This code
enables our support team to look up your Lightsail information more easily.
final
-
The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the Lightsail
Dev Guide.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited