/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.neptune.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DeleteDBClusterRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive. *
** Constraints: *
** Must match an existing DBClusterIdentifier. *
*
* 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
*
* 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 *
** 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. *
** 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. *
** 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. *
*
* 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 void setSkipFinalSnapshot(Boolean skipFinalSnapshot) {
this.skipFinalSnapshot = 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 Boolean getSkipFinalSnapshot() {
return this.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
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DeleteDBClusterRequest withSkipFinalSnapshot(Boolean skipFinalSnapshot) {
setSkipFinalSnapshot(skipFinalSnapshot);
return this;
}
/**
*
* 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 Boolean isSkipFinalSnapshot() {
return this.skipFinalSnapshot;
}
/**
*
* 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 *
*
* 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 *
*
* 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 *
*