@Generated(value="software.amazon.awssdk:codegen") public final class RelationalDatabaseSnapshot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelationalDatabaseSnapshot.Builder,RelationalDatabaseSnapshot>
Describes a database snapshot.
Modifier and Type | Class and Description |
---|---|
static interface |
RelationalDatabaseSnapshot.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the database snapshot.
|
static RelationalDatabaseSnapshot.Builder |
builder() |
Instant |
createdAt()
The timestamp when the database snapshot was created.
|
String |
engine()
The software of the database snapshot (for example,
MySQL ) |
String |
engineVersion()
The database engine version for the database snapshot (for example,
5.7.23 ). |
boolean |
equals(Object obj) |
String |
fromRelationalDatabaseArn()
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
|
String |
fromRelationalDatabaseBlueprintId()
The blueprint ID of the database from which the database snapshot was created.
|
String |
fromRelationalDatabaseBundleId()
The bundle ID of the database from which the database snapshot was created.
|
String |
fromRelationalDatabaseName()
The name of the source database from which the database snapshot was created.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceLocation |
location()
The Region name and Availability Zone where the database snapshot is located.
|
String |
name()
The name of the database snapshot.
|
ResourceType |
resourceType()
The Lightsail resource type.
|
String |
resourceTypeAsString()
The Lightsail resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelationalDatabaseSnapshot.Builder> |
serializableBuilderClass() |
Integer |
sizeInGb()
The size of the disk in GB (for example,
32 ) for the database snapshot. |
String |
state()
The state of the database snapshot.
|
String |
supportCode()
The support code for the database snapshot.
|
List<Tag> |
tags()
The tag keys and optional values for the resource.
|
RelationalDatabaseSnapshot.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the database snapshot.
public String arn()
The Amazon Resource Name (ARN) of the database snapshot.
public String supportCode()
The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
public Instant createdAt()
The timestamp when the database snapshot was created.
public ResourceLocation location()
The Region name and Availability Zone where the database snapshot is located.
public ResourceType resourceType()
The Lightsail resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceTypeAsString()
The Lightsail resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public List<Tag> tags()
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String engine()
The software of the database snapshot (for example, MySQL
)
MySQL
)public String engineVersion()
The database engine version for the database snapshot (for example, 5.7.23
).
5.7.23
).public Integer sizeInGb()
The size of the disk in GB (for example, 32
) for the database snapshot.
32
) for the database snapshot.public String state()
The state of the database snapshot.
public String fromRelationalDatabaseName()
The name of the source database from which the database snapshot was created.
public String fromRelationalDatabaseArn()
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
public String fromRelationalDatabaseBundleId()
The bundle ID of the database from which the database snapshot was created.
public String fromRelationalDatabaseBlueprintId()
The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
public RelationalDatabaseSnapshot.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RelationalDatabaseSnapshot.Builder,RelationalDatabaseSnapshot>
public static RelationalDatabaseSnapshot.Builder builder()
public static Class<? extends RelationalDatabaseSnapshot.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.