@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreDBClusterToPointInTimeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to RestoreDBClusterToPointInTime.
NOOP| Constructor and Description | 
|---|
| RestoreDBClusterToPointInTimeRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| RestoreDBClusterToPointInTimeRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getDBClusterIdentifier()
 The name of the new cluster to be created. | 
| String | getDBSubnetGroupName()
 The subnet group name to use for the new cluster. | 
| Boolean | getDeletionProtection()
 Specifies whether this cluster can be deleted. | 
| List<String> | getEnableCloudwatchLogsExports()
 A list of log types that must be enabled for exporting to Amazon CloudWatch Logs. | 
| String | getKmsKeyId()
 The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster. | 
| Integer | getPort()
 The port number on which the new cluster accepts connections. | 
| Date | getRestoreToTime()
 The date and time to restore the cluster to. | 
| String | getSourceDBClusterIdentifier()
 The identifier of the source cluster from which to restore. | 
| List<Tag> | getTags()
 The tags to be assigned to the restored cluster. | 
| Boolean | getUseLatestRestorableTime()
 A value that is set to  trueto restore the cluster to the latest restorable backup time, andfalseotherwise. | 
| List<String> | getVpcSecurityGroupIds()
 A list of VPC security groups that the new cluster belongs to. | 
| int | hashCode() | 
| Boolean | isDeletionProtection()
 Specifies whether this cluster can be deleted. | 
| Boolean | isUseLatestRestorableTime()
 A value that is set to  trueto restore the cluster to the latest restorable backup time, andfalseotherwise. | 
| void | setDBClusterIdentifier(String dBClusterIdentifier)
 The name of the new cluster to be created. | 
| void | setDBSubnetGroupName(String dBSubnetGroupName)
 The subnet group name to use for the new cluster. | 
| void | setDeletionProtection(Boolean deletionProtection)
 Specifies whether this cluster can be deleted. | 
| void | setEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
 A list of log types that must be enabled for exporting to Amazon CloudWatch Logs. | 
| void | setKmsKeyId(String kmsKeyId)
 The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster. | 
| void | setPort(Integer port)
 The port number on which the new cluster accepts connections. | 
| void | setRestoreToTime(Date restoreToTime)
 The date and time to restore the cluster to. | 
| void | setSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
 The identifier of the source cluster from which to restore. | 
| void | setTags(Collection<Tag> tags)
 The tags to be assigned to the restored cluster. | 
| void | setUseLatestRestorableTime(Boolean useLatestRestorableTime)
 A value that is set to  trueto restore the cluster to the latest restorable backup time, andfalseotherwise. | 
| void | setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
 A list of VPC security groups that the new cluster belongs to. | 
| String | toString()Returns a string representation of this object. | 
| RestoreDBClusterToPointInTimeRequest | withDBClusterIdentifier(String dBClusterIdentifier)
 The name of the new cluster to be created. | 
| RestoreDBClusterToPointInTimeRequest | withDBSubnetGroupName(String dBSubnetGroupName)
 The subnet group name to use for the new cluster. | 
| RestoreDBClusterToPointInTimeRequest | withDeletionProtection(Boolean deletionProtection)
 Specifies whether this cluster can be deleted. | 
| RestoreDBClusterToPointInTimeRequest | withEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
 A list of log types that must be enabled for exporting to Amazon CloudWatch Logs. | 
| RestoreDBClusterToPointInTimeRequest | withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports)
 A list of log types that must be enabled for exporting to Amazon CloudWatch Logs. | 
| RestoreDBClusterToPointInTimeRequest | withKmsKeyId(String kmsKeyId)
 The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster. | 
| RestoreDBClusterToPointInTimeRequest | withPort(Integer port)
 The port number on which the new cluster accepts connections. | 
| RestoreDBClusterToPointInTimeRequest | withRestoreToTime(Date restoreToTime)
 The date and time to restore the cluster to. | 
| RestoreDBClusterToPointInTimeRequest | withSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
 The identifier of the source cluster from which to restore. | 
| RestoreDBClusterToPointInTimeRequest | withTags(Collection<Tag> tags)
 The tags to be assigned to the restored cluster. | 
| RestoreDBClusterToPointInTimeRequest | withTags(Tag... tags)
 The tags to be assigned to the restored cluster. | 
| RestoreDBClusterToPointInTimeRequest | withUseLatestRestorableTime(Boolean useLatestRestorableTime)
 A value that is set to  trueto restore the cluster to the latest restorable backup time, andfalseotherwise. | 
| RestoreDBClusterToPointInTimeRequest | withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
 A list of VPC security groups that the new cluster belongs to. | 
| RestoreDBClusterToPointInTimeRequest | withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
 A list of VPC security groups that the new cluster belongs to. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic RestoreDBClusterToPointInTimeRequest()
public void setDBClusterIdentifier(String dBClusterIdentifier)
The name of the new cluster to be created.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
dBClusterIdentifier - The name of the new cluster to be created.
        Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public String getDBClusterIdentifier()
The name of the new cluster to be created.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public RestoreDBClusterToPointInTimeRequest withDBClusterIdentifier(String dBClusterIdentifier)
The name of the new cluster to be created.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
dBClusterIdentifier - The name of the new cluster to be created.
        Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public void setSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The identifier of the source cluster from which to restore.
Constraints:
 Must match the identifier of an existing DBCluster.
 
sourceDBClusterIdentifier - The identifier of the source cluster from which to restore.
        Constraints:
        Must match the identifier of an existing DBCluster.
        
public String getSourceDBClusterIdentifier()
The identifier of the source cluster from which to restore.
Constraints:
 Must match the identifier of an existing DBCluster.
 
Constraints:
         Must match the identifier of an existing DBCluster.
         
public RestoreDBClusterToPointInTimeRequest withSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The identifier of the source cluster from which to restore.
Constraints:
 Must match the identifier of an existing DBCluster.
 
sourceDBClusterIdentifier - The identifier of the source cluster from which to restore.
        Constraints:
        Must match the identifier of an existing DBCluster.
        
public void setRestoreToTime(Date restoreToTime)
The date and time to restore the cluster to.
Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
 Must be specified if the UseLatestRestorableTime parameter is not provided.
 
 Cannot be specified if the UseLatestRestorableTime parameter is true.
 
 Cannot be specified if the RestoreType parameter is copy-on-write.
 
 Example: 2015-03-07T23:45:00Z
 
restoreToTime - The date and time to restore the cluster to.
        Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
        Must be specified if the UseLatestRestorableTime parameter is not provided.
        
        Cannot be specified if the UseLatestRestorableTime parameter is true.
        
        Cannot be specified if the RestoreType parameter is copy-on-write.
        
        Example: 2015-03-07T23:45:00Z
public Date getRestoreToTime()
The date and time to restore the cluster to.
Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
 Must be specified if the UseLatestRestorableTime parameter is not provided.
 
 Cannot be specified if the UseLatestRestorableTime parameter is true.
 
 Cannot be specified if the RestoreType parameter is copy-on-write.
 
 Example: 2015-03-07T23:45:00Z
 
Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
         Must be specified if the UseLatestRestorableTime parameter is not provided.
         
         Cannot be specified if the UseLatestRestorableTime parameter is true.
         
         Cannot be specified if the RestoreType parameter is copy-on-write.
         
         Example: 2015-03-07T23:45:00Z
public RestoreDBClusterToPointInTimeRequest withRestoreToTime(Date restoreToTime)
The date and time to restore the cluster to.
Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
 Must be specified if the UseLatestRestorableTime parameter is not provided.
 
 Cannot be specified if the UseLatestRestorableTime parameter is true.
 
 Cannot be specified if the RestoreType parameter is copy-on-write.
 
 Example: 2015-03-07T23:45:00Z
 
restoreToTime - The date and time to restore the cluster to.
        Valid values: A time in Universal Coordinated Time (UTC) format.
Constraints:
Must be before the latest restorable time for the instance.
        Must be specified if the UseLatestRestorableTime parameter is not provided.
        
        Cannot be specified if the UseLatestRestorableTime parameter is true.
        
        Cannot be specified if the RestoreType parameter is copy-on-write.
        
        Example: 2015-03-07T23:45:00Z
public void setUseLatestRestorableTime(Boolean useLatestRestorableTime)
 A value that is set to true to restore the cluster to the latest restorable backup time, and
 false otherwise.
 
 Default: false
 
 Constraints: Cannot be specified if the RestoreToTime parameter is provided.
 
useLatestRestorableTime - A value that is set to true to restore the cluster to the latest restorable backup time, and
        false otherwise. 
        
        Default: false
        
        Constraints: Cannot be specified if the RestoreToTime parameter is provided.
public Boolean getUseLatestRestorableTime()
 A value that is set to true to restore the cluster to the latest restorable backup time, and
 false otherwise.
 
 Default: false
 
 Constraints: Cannot be specified if the RestoreToTime parameter is provided.
 
true to restore the cluster to the latest restorable backup time, and
         false otherwise. 
         
         Default: false
         
         Constraints: Cannot be specified if the RestoreToTime parameter is provided.
public RestoreDBClusterToPointInTimeRequest withUseLatestRestorableTime(Boolean useLatestRestorableTime)
 A value that is set to true to restore the cluster to the latest restorable backup time, and
 false otherwise.
 
 Default: false
 
 Constraints: Cannot be specified if the RestoreToTime parameter is provided.
 
useLatestRestorableTime - A value that is set to true to restore the cluster to the latest restorable backup time, and
        false otherwise. 
        
        Default: false
        
        Constraints: Cannot be specified if the RestoreToTime parameter is provided.
public Boolean isUseLatestRestorableTime()
 A value that is set to true to restore the cluster to the latest restorable backup time, and
 false otherwise.
 
 Default: false
 
 Constraints: Cannot be specified if the RestoreToTime parameter is provided.
 
true to restore the cluster to the latest restorable backup time, and
         false otherwise. 
         
         Default: false
         
         Constraints: Cannot be specified if the RestoreToTime parameter is provided.
public void setPort(Integer port)
The port number on which the new cluster accepts connections.
 Constraints: Must be a value from 1150 to 65535.
 
Default: The default port for the engine.
port - The port number on which the new cluster accepts connections.
        
        Constraints: Must be a value from 1150 to 65535.
        
Default: The default port for the engine.
public Integer getPort()
The port number on which the new cluster accepts connections.
 Constraints: Must be a value from 1150 to 65535.
 
Default: The default port for the engine.
         Constraints: Must be a value from 1150 to 65535.
         
Default: The default port for the engine.
public RestoreDBClusterToPointInTimeRequest withPort(Integer port)
The port number on which the new cluster accepts connections.
 Constraints: Must be a value from 1150 to 65535.
 
Default: The default port for the engine.
port - The port number on which the new cluster accepts connections.
        
        Constraints: Must be a value from 1150 to 65535.
        
Default: The default port for the engine.
public void setDBSubnetGroupName(String dBSubnetGroupName)
The subnet group name to use for the new cluster.
 Constraints: If provided, must match the name of an existing DBSubnetGroup.
 
 Example: mySubnetgroup
 
dBSubnetGroupName - The subnet group name to use for the new cluster.
        
        Constraints: If provided, must match the name of an existing DBSubnetGroup.
        
        Example: mySubnetgroup
public String getDBSubnetGroupName()
The subnet group name to use for the new cluster.
 Constraints: If provided, must match the name of an existing DBSubnetGroup.
 
 Example: mySubnetgroup
 
         Constraints: If provided, must match the name of an existing DBSubnetGroup.
         
         Example: mySubnetgroup
public RestoreDBClusterToPointInTimeRequest withDBSubnetGroupName(String dBSubnetGroupName)
The subnet group name to use for the new cluster.
 Constraints: If provided, must match the name of an existing DBSubnetGroup.
 
 Example: mySubnetgroup
 
dBSubnetGroupName - The subnet group name to use for the new cluster.
        
        Constraints: If provided, must match the name of an existing DBSubnetGroup.
        
        Example: mySubnetgroup
public List<String> getVpcSecurityGroupIds()
A list of VPC security groups that the new cluster belongs to.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the new cluster belongs to.
vpcSecurityGroupIds - A list of VPC security groups that the new cluster belongs to.public RestoreDBClusterToPointInTimeRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of VPC security groups that the new cluster belongs to.
 NOTE: This method appends the values to the existing list (if any). Use
 setVpcSecurityGroupIds(java.util.Collection) or withVpcSecurityGroupIds(java.util.Collection)
 if you want to override the existing values.
 
vpcSecurityGroupIds - A list of VPC security groups that the new cluster belongs to.public RestoreDBClusterToPointInTimeRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the new cluster belongs to.
vpcSecurityGroupIds - A list of VPC security groups that the new cluster belongs to.public List<Tag> getTags()
The tags to be assigned to the restored cluster.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the restored cluster.
tags - The tags to be assigned to the restored cluster.public RestoreDBClusterToPointInTimeRequest withTags(Tag... tags)
The tags to be assigned to the restored cluster.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - The tags to be assigned to the restored cluster.public RestoreDBClusterToPointInTimeRequest withTags(Collection<Tag> tags)
The tags to be assigned to the restored cluster.
tags - The tags to be assigned to the restored cluster.public void setKmsKeyId(String kmsKeyId)
The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
 You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from the AWS
 KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key identified by
 the KmsKeyId parameter.
 
 If you do not specify a value for the KmsKeyId parameter, then the following occurs:
 
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
 If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is
 rejected.
 
kmsKeyId - The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.
        The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
        You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from
        the AWS KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key
        identified by the KmsKeyId parameter.
        
        If you do not specify a value for the KmsKeyId parameter, then the following occurs:
        
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
        If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is
        rejected.
public String getKmsKeyId()
The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
 You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from the AWS
 KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key identified by
 the KmsKeyId parameter.
 
 If you do not specify a value for the KmsKeyId parameter, then the following occurs:
 
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
 If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is
 rejected.
 
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
         You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from
         the AWS KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key
         identified by the KmsKeyId parameter.
         
         If you do not specify a value for the KmsKeyId parameter, then the following occurs:
         
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
         If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request
         is rejected.
public RestoreDBClusterToPointInTimeRequest withKmsKeyId(String kmsKeyId)
The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
 You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from the AWS
 KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key identified by
 the KmsKeyId parameter.
 
 If you do not specify a value for the KmsKeyId parameter, then the following occurs:
 
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
 If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is
 rejected.
 
kmsKeyId - The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.
        The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
        You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from
        the AWS KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key
        identified by the KmsKeyId parameter.
        
        If you do not specify a value for the KmsKeyId parameter, then the following occurs:
        
If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster.
If the cluster is not encrypted, then the restored cluster is not encrypted.
        If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is
        rejected.
public List<String> getEnableCloudwatchLogsExports()
A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
public void setEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
enableCloudwatchLogsExports - A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.public RestoreDBClusterToPointInTimeRequest withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports)
A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
 NOTE: This method appends the values to the existing list (if any). Use
 setEnableCloudwatchLogsExports(java.util.Collection) or
 withEnableCloudwatchLogsExports(java.util.Collection) if you want to override the existing values.
 
enableCloudwatchLogsExports - A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.public RestoreDBClusterToPointInTimeRequest withEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
enableCloudwatchLogsExports - A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.public void setDeletionProtection(Boolean deletionProtection)
 Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot
 be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection
 protects clusters from being accidentally deleted.
 
deletionProtection - Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster
        cannot be deleted unless it is modified and DeletionProtection is disabled.
        DeletionProtection protects clusters from being accidentally deleted.public Boolean getDeletionProtection()
 Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot
 be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection
 protects clusters from being accidentally deleted.
 
DeletionProtection is enabled, the cluster
         cannot be deleted unless it is modified and DeletionProtection is disabled.
         DeletionProtection protects clusters from being accidentally deleted.public RestoreDBClusterToPointInTimeRequest withDeletionProtection(Boolean deletionProtection)
 Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot
 be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection
 protects clusters from being accidentally deleted.
 
deletionProtection - Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster
        cannot be deleted unless it is modified and DeletionProtection is disabled.
        DeletionProtection protects clusters from being accidentally deleted.public Boolean isDeletionProtection()
 Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot
 be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection
 protects clusters from being accidentally deleted.
 
DeletionProtection is enabled, the cluster
         cannot be deleted unless it is modified and DeletionProtection is disabled.
         DeletionProtection protects clusters from being accidentally deleted.public String toString()
toString in class ObjectObject.toString()public RestoreDBClusterToPointInTimeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()