Class DeleteDbClusterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.docdb.model.DocDbRequest
-
- software.amazon.awssdk.services.docdb.model.DeleteDbClusterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteDbClusterRequest extends DocDbRequest implements ToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
Represents the input to DeleteDBCluster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteDbClusterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteDbClusterRequest.Builderbuilder()StringdbClusterIdentifier()The cluster identifier for the cluster to be deleted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfinalDBSnapshotIdentifier()The cluster snapshot identifier of the new cluster snapshot created whenSkipFinalSnapshotis set tofalse.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteDbClusterRequest.Builder>serializableBuilderClass()BooleanskipFinalSnapshot()Determines whether a final cluster snapshot is created before the cluster is deleted.DeleteDbClusterRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dbClusterIdentifier
public final String dbClusterIdentifier()
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier.
- Returns:
- The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier.
-
-
-
skipFinalSnapshot
public final Boolean skipFinalSnapshot()
Determines whether a final cluster snapshot is created before the cluster is deleted. If
trueis specified, no cluster snapshot is created. Iffalseis specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshotisfalse, you must specify aFinalDBSnapshotIdentifierparameter.Default:
false- Returns:
- Determines whether a final cluster snapshot is created before the cluster is deleted. If
trueis specified, no cluster snapshot is created. Iffalseis specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshotisfalse, you must specify aFinalDBSnapshotIdentifierparameter.Default:
false
-
finalDBSnapshotIdentifier
public final String finalDBSnapshotIdentifier()
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter totrueresults 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.
- Returns:
- The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter totrueresults 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.
-
-
-
toBuilder
public DeleteDbClusterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>- Specified by:
toBuilderin classDocDbRequest
-
builder
public static DeleteDbClusterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteDbClusterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-