@Generated(value="software.amazon.awssdk:codegen") public 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() |
requestOverrideConfigcopypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DeleteDBClusterRequest.Builder,DeleteDBClusterRequest>toBuilder in class RDSRequestpublic static DeleteDBClusterRequest.Builder builder()
public static Class<? extends DeleteDBClusterRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. 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 SdkRequestfieldName - 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.