@Generated(value="software.amazon.awssdk:codegen") public final class DeleteRelationalDatabaseRequest extends LightsailRequest implements ToCopyableBuilder<DeleteRelationalDatabaseRequest.Builder,DeleteRelationalDatabaseRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DeleteRelationalDatabaseRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DeleteRelationalDatabaseRequest.Builder |
builder() |
boolean |
equals(Object obj) |
String |
finalRelationalDatabaseSnapshotName()
The name of the database snapshot created if
skip final snapshot is false , which is the
default value for that parameter. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
relationalDatabaseName()
The name of the database that you are deleting.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteRelationalDatabaseRequest.Builder> |
serializableBuilderClass() |
Boolean |
skipFinalSnapshot()
Determines whether a final database snapshot is created before your database is deleted.
|
DeleteRelationalDatabaseRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String relationalDatabaseName()
The name of the database that you are deleting.
public Boolean skipFinalSnapshot()
Determines whether a final database snapshot is created before your database is deleted. If true
is
specified, no database snapshot is created. If false
is specified, a database snapshot is created
before your database is deleted.
You must specify the final relational database snapshot name
parameter if the
skip final snapshot
parameter is false
.
Default: false
true
is specified, no database snapshot is created. If false
is specified, a
database snapshot is created before your database is deleted.
You must specify the final relational database snapshot name
parameter if the
skip final snapshot
parameter is false
.
Default: false
public String finalRelationalDatabaseSnapshotName()
The name of the database snapshot created if skip final snapshot
is false
, which is the
default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to true
results in an error.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
skip final snapshot
is false
,
which is the default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to
true
results in an error.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
public DeleteRelationalDatabaseRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeleteRelationalDatabaseRequest.Builder,DeleteRelationalDatabaseRequest>
toBuilder
in class LightsailRequest
public static DeleteRelationalDatabaseRequest.Builder builder()
public static Class<? extends DeleteRelationalDatabaseRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.