@Generated(value="software.amazon.awssdk:codegen") public final class DeleteDbClusterRequest extends RdsRequest implements ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DeleteDbClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DeleteDbClusterRequest.Builder |
builder() |
String |
dbClusterIdentifier()
The DB cluster identifier for the DB cluster to be deleted.
|
boolean |
equals(Object obj) |
String |
finalDBSnapshotIdentifier()
The DB cluster snapshot identifier of the new DB cluster snapshot created when
SkipFinalSnapshot is
set to false . |
<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() |
static Class<? extends DeleteDbClusterRequest.Builder> |
serializableBuilderClass() |
Boolean |
skipFinalSnapshot()
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted.
|
DeleteDbClusterRequest.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 dbClusterIdentifier()
The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.
Constraints:
Must match an existing DBClusterIdentifier.
Constraints:
Must match an existing DBClusterIdentifier.
public Boolean skipFinalSnapshot()
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true
is specified, no DB cluster snapshot is created. If false
is specified, a DB cluster snapshot is
created before the DB cluster is deleted.
You must specify a FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.
Default: false
true
is specified, no DB cluster snapshot is created. If false
is specified, a
DB cluster snapshot is created before the DB cluster is deleted.
You must specify a FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.
Default: false
public String finalDBSnapshotIdentifier()
The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot
is
set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true results in an
error.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true results
in an error.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public DeleteDbClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
toBuilder
in class RdsRequest
public static DeleteDbClusterRequest.Builder builder()
public static Class<? extends DeleteDbClusterRequest.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.