@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) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String relationalDatabaseName()
The name of the database that you are deleting.
public final 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 final 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 final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <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.