com.amazonaws.services.redshift.model

## クラス DeleteClusterRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.redshift.model.DeleteClusterRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DeleteClusterRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteCluster operation`.

  Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. If a final cluster snapshot is requested the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide .

  関連項目:
    `AmazonRedshift.deleteCluster(DeleteClusterRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `DeleteClusterRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getClusterIdentifier()` The identifier of the cluster to be deleted.
    `java.lang.String` | `getFinalClusterSnapshotIdentifier()` The identifier of the final snapshot that is to be created immediately before deleting the cluster.
    `java.lang.Boolean` | `getSkipFinalClusterSnapshot()` Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isSkipFinalClusterSnapshot()` Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster.
    `void` | `setClusterIdentifier(java.lang.String clusterIdentifier)` The identifier of the cluster to be deleted.
    `void` | `setFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)` The identifier of the final snapshot that is to be created immediately before deleting the cluster.
    `void` | `setSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)` Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteClusterRequest` | `withClusterIdentifier(java.lang.String clusterIdentifier)` The identifier of the cluster to be deleted.
    `DeleteClusterRequest` | `withFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)` The identifier of the final snapshot that is to be created immediately before deleting the cluster.
    `DeleteClusterRequest` | `withSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)` Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DeleteClusterRequest

          public DeleteClusterRequest()

  - ### メソッドの詳細

    - #### getClusterIdentifier

          public java.lang.String getClusterIdentifier()

      The identifier of the cluster to be deleted.

      Constraints:

      - Must contain lowercase characters.
      - Must contain from 1 to 63 alphanumeric characters or hyphens.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.
      戻り値:
        The identifier of the cluster to be deleted.

        Constraints:

        - Must contain lowercase characters.
        - Must contain from 1 to 63 alphanumeric characters or hyphens.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### setClusterIdentifier

          public void setClusterIdentifier(java.lang.String clusterIdentifier)

      The identifier of the cluster to be deleted.

      Constraints:

      - Must contain lowercase characters.
      - Must contain from 1 to 63 alphanumeric characters or hyphens.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.
      パラメータ:
        `clusterIdentifier` - The identifier of the cluster to be deleted.

        Constraints:

        - Must contain lowercase characters.
        - Must contain from 1 to 63 alphanumeric characters or hyphens.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### withClusterIdentifier

          public DeleteClusterRequest withClusterIdentifier(java.lang.String clusterIdentifier)

      The identifier of the cluster to be deleted.

      Constraints:

      - Must contain lowercase characters.
      - Must contain from 1 to 63 alphanumeric characters or hyphens.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `clusterIdentifier` - The identifier of the cluster to be deleted.

        Constraints:

        - Must contain lowercase characters.
        - Must contain from 1 to 63 alphanumeric characters or hyphens.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### isSkipFinalClusterSnapshot

          public java.lang.Boolean isSkipFinalClusterSnapshot()

      Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

      Default: `false`

      戻り値:
        Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

        Default: `false`

    - #### setSkipFinalClusterSnapshot

          public void setSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)

      Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

      Default: `false`

      パラメータ:
        `skipFinalClusterSnapshot` - Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

        Default: `false`

    - #### withSkipFinalClusterSnapshot

          public DeleteClusterRequest withSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)

      Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

      Default: `false`

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `skipFinalClusterSnapshot` - Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

        Default: `false`

    - #### getSkipFinalClusterSnapshot

          public java.lang.Boolean getSkipFinalClusterSnapshot()

      Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

      Default: `false`

      戻り値:
        Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If `true`, a final cluster snapshot is not created. If `false`, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is `false`.

        Default: `false`

    - #### getFinalClusterSnapshotIdentifier

          public java.lang.String getFinalClusterSnapshotIdentifier()

      The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

      Constraints:

      - Must be 1 to 255 alphanumeric characters.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.
      戻り値:
        The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

        Constraints:

        - Must be 1 to 255 alphanumeric characters.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### setFinalClusterSnapshotIdentifier

          public void setFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)

      The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

      Constraints:

      - Must be 1 to 255 alphanumeric characters.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.
      パラメータ:
        `finalClusterSnapshotIdentifier` - The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

        Constraints:

        - Must be 1 to 255 alphanumeric characters.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### withFinalClusterSnapshotIdentifier

          public DeleteClusterRequest withFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)

      The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

      Constraints:

      - Must be 1 to 255 alphanumeric characters.
      - First character must be a letter.
      - Cannot end with a hyphen or contain two consecutive hyphens.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `finalClusterSnapshotIdentifier` - The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be `false`.

        Constraints:

        - Must be 1 to 255 alphanumeric characters.
        - First character must be a letter.
        - Cannot end with a hyphen or contain two consecutive hyphens.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`