@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyClusterRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
BackupRetentionPolicy |
getBackupRetentionPolicy()
A policy that defines how the service retains backups.
|
String |
getClusterId()
The identifier (ID) of the cluster that you want to modify.
|
int |
hashCode() |
void |
setBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
|
void |
setClusterId(String clusterId)
The identifier (ID) of the cluster that you want to modify.
|
String |
toString()
Returns a string representation of this object.
|
ModifyClusterRequest |
withBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
|
ModifyClusterRequest |
withClusterId(String clusterId)
The identifier (ID) of the cluster that you want to modify.
|
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, withSdkRequestTimeout
public void setBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
backupRetentionPolicy
- A policy that defines how the service retains backups.public BackupRetentionPolicy getBackupRetentionPolicy()
A policy that defines how the service retains backups.
public ModifyClusterRequest withBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
backupRetentionPolicy
- A policy that defines how the service retains backups.public void setClusterId(String clusterId)
The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use DescribeClusters.
clusterId
- The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use
DescribeClusters.public String getClusterId()
The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use DescribeClusters.
public ModifyClusterRequest withClusterId(String clusterId)
The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use DescribeClusters.
clusterId
- The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use
DescribeClusters.public String toString()
toString
in class Object
Object.toString()
public ModifyClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()