@Generated(value="software.amazon.awssdk:codegen") public final class DeleteDbClusterRequest extends DocDbRequest implements ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
Represents the input to DeleteDBCluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteDbClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteDbClusterRequest.Builder |
builder() |
String |
dbClusterIdentifier()
The cluster identifier for the cluster to be deleted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
finalDBSnapshotIdentifier()
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshot is set to
false. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteDbClusterRequest.Builder> |
serializableBuilderClass() |
Boolean |
skipFinalSnapshot()
Determines whether a final cluster snapshot is created before the cluster is deleted.
|
DeleteDbClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbClusterIdentifier()
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier.
Constraints:
Must match an existing DBClusterIdentifier.
public final Boolean skipFinalSnapshot()
Determines whether a final cluster snapshot is created before the cluster is deleted. If true is
specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created
before the DB cluster is deleted.
If SkipFinalSnapshot is false, you must specify a
FinalDBSnapshotIdentifier parameter.
Default: false
true is specified, no cluster snapshot is created. If false is specified, a
cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot is false, you must specify a
FinalDBSnapshotIdentifier parameter.
Default: false
public final String finalDBSnapshotIdentifier()
The cluster snapshot identifier of the new 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 from 1 to 255 letters, numbers, or hyphens.
The 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 from 1 to 255 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public DeleteDbClusterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>toBuilder in class DocDbRequestpublic static DeleteDbClusterRequest.Builder builder()
public static Class<? extends DeleteDbClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.