Class DeleteDbInstanceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.neptune.model.NeptuneRequest
-
- software.amazon.awssdk.services.neptune.model.DeleteDbInstanceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteDbInstanceRequest.Builder,DeleteDbInstanceRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteDbInstanceRequest extends NeptuneRequest implements ToCopyableBuilder<DeleteDbInstanceRequest.Builder,DeleteDbInstanceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteDbInstanceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteDbInstanceRequest.Builderbuilder()StringdbInstanceIdentifier()The DB instance identifier for the DB instance to be deleted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfinalDBSnapshotIdentifier()The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set tofalse.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteDbInstanceRequest.Builder>serializableBuilderClass()BooleanskipFinalSnapshot()Determines whether a final DB snapshot is created before the DB instance is deleted.DeleteDbInstanceRequest.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
-
dbInstanceIdentifier
public final String dbInstanceIdentifier()
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match the name of an existing DB instance.
- Returns:
- The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match the name of an existing DB instance.
-
-
-
skipFinalSnapshot
public final Boolean skipFinalSnapshot()
Determines whether a final DB snapshot is created before the DB instance is deleted. If
trueis specified, no DBSnapshot is created. Iffalseis specified, a DB snapshot is created before the DB instance is deleted.Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".
Specify
truewhen deleting a Read Replica.The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is
false.Default:
false- Returns:
- Determines whether a final DB snapshot is created before the DB instance is deleted. If
trueis specified, no DBSnapshot is created. Iffalseis specified, a DB snapshot is created before the DB instance is deleted.Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".
Specify
truewhen deleting a Read Replica.The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is
false.Default:
false
-
finalDBSnapshotIdentifier
public final String finalDBSnapshotIdentifier()
The DBSnapshotIdentifier of the new DBSnapshot 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 or numbers.
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
-
Cannot be specified when deleting a Read Replica.
- Returns:
- The DBSnapshotIdentifier of the new DBSnapshot 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 or numbers.
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
-
Cannot be specified when deleting a Read Replica.
-
-
-
toBuilder
public DeleteDbInstanceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteDbInstanceRequest.Builder,DeleteDbInstanceRequest>- Specified by:
toBuilderin classNeptuneRequest
-
builder
public static DeleteDbInstanceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteDbInstanceRequest.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
-
-