@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyClusterMaintenanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyClusterMaintenanceRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClusterMaintenanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
A unique identifier for the cluster.
|
Boolean |
getDeferMaintenance()
A boolean indicating whether to enable the deferred maintenance window.
|
Integer |
getDeferMaintenanceDuration()
An integer indicating the duration of the maintenance window in days.
|
Date |
getDeferMaintenanceEndTime()
A timestamp indicating end time for the deferred maintenance window.
|
String |
getDeferMaintenanceIdentifier()
A unique identifier for the deferred maintenance window.
|
Date |
getDeferMaintenanceStartTime()
A timestamp indicating the start time for the deferred maintenance window.
|
int |
hashCode() |
Boolean |
isDeferMaintenance()
A boolean indicating whether to enable the deferred maintenance window.
|
void |
setClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster.
|
void |
setDeferMaintenance(Boolean deferMaintenance)
A boolean indicating whether to enable the deferred maintenance window.
|
void |
setDeferMaintenanceDuration(Integer deferMaintenanceDuration)
An integer indicating the duration of the maintenance window in days.
|
void |
setDeferMaintenanceEndTime(Date deferMaintenanceEndTime)
A timestamp indicating end time for the deferred maintenance window.
|
void |
setDeferMaintenanceIdentifier(String deferMaintenanceIdentifier)
A unique identifier for the deferred maintenance window.
|
void |
setDeferMaintenanceStartTime(Date deferMaintenanceStartTime)
A timestamp indicating the start time for the deferred maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
ModifyClusterMaintenanceRequest |
withClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster.
|
ModifyClusterMaintenanceRequest |
withDeferMaintenance(Boolean deferMaintenance)
A boolean indicating whether to enable the deferred maintenance window.
|
ModifyClusterMaintenanceRequest |
withDeferMaintenanceDuration(Integer deferMaintenanceDuration)
An integer indicating the duration of the maintenance window in days.
|
ModifyClusterMaintenanceRequest |
withDeferMaintenanceEndTime(Date deferMaintenanceEndTime)
A timestamp indicating end time for the deferred maintenance window.
|
ModifyClusterMaintenanceRequest |
withDeferMaintenanceIdentifier(String deferMaintenanceIdentifier)
A unique identifier for the deferred maintenance window.
|
ModifyClusterMaintenanceRequest |
withDeferMaintenanceStartTime(Date deferMaintenanceStartTime)
A timestamp indicating the start time for the deferred maintenance window.
|
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 setClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster.
clusterIdentifier
- A unique identifier for the cluster.public String getClusterIdentifier()
A unique identifier for the cluster.
public ModifyClusterMaintenanceRequest withClusterIdentifier(String clusterIdentifier)
A unique identifier for the cluster.
clusterIdentifier
- A unique identifier for the cluster.public void setDeferMaintenance(Boolean deferMaintenance)
A boolean indicating whether to enable the deferred maintenance window.
deferMaintenance
- A boolean indicating whether to enable the deferred maintenance window.public Boolean getDeferMaintenance()
A boolean indicating whether to enable the deferred maintenance window.
public ModifyClusterMaintenanceRequest withDeferMaintenance(Boolean deferMaintenance)
A boolean indicating whether to enable the deferred maintenance window.
deferMaintenance
- A boolean indicating whether to enable the deferred maintenance window.public Boolean isDeferMaintenance()
A boolean indicating whether to enable the deferred maintenance window.
public void setDeferMaintenanceIdentifier(String deferMaintenanceIdentifier)
A unique identifier for the deferred maintenance window.
deferMaintenanceIdentifier
- A unique identifier for the deferred maintenance window.public String getDeferMaintenanceIdentifier()
A unique identifier for the deferred maintenance window.
public ModifyClusterMaintenanceRequest withDeferMaintenanceIdentifier(String deferMaintenanceIdentifier)
A unique identifier for the deferred maintenance window.
deferMaintenanceIdentifier
- A unique identifier for the deferred maintenance window.public void setDeferMaintenanceStartTime(Date deferMaintenanceStartTime)
A timestamp indicating the start time for the deferred maintenance window.
deferMaintenanceStartTime
- A timestamp indicating the start time for the deferred maintenance window.public Date getDeferMaintenanceStartTime()
A timestamp indicating the start time for the deferred maintenance window.
public ModifyClusterMaintenanceRequest withDeferMaintenanceStartTime(Date deferMaintenanceStartTime)
A timestamp indicating the start time for the deferred maintenance window.
deferMaintenanceStartTime
- A timestamp indicating the start time for the deferred maintenance window.public void setDeferMaintenanceEndTime(Date deferMaintenanceEndTime)
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
deferMaintenanceEndTime
- A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't
specify a duration.public Date getDeferMaintenanceEndTime()
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
public ModifyClusterMaintenanceRequest withDeferMaintenanceEndTime(Date deferMaintenanceEndTime)
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
deferMaintenanceEndTime
- A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't
specify a duration.public void setDeferMaintenanceDuration(Integer deferMaintenanceDuration)
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
deferMaintenanceDuration
- An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't
specify an end time. The duration must be 45 days or less.public Integer getDeferMaintenanceDuration()
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
public ModifyClusterMaintenanceRequest withDeferMaintenanceDuration(Integer deferMaintenanceDuration)
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
deferMaintenanceDuration
- An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't
specify an end time. The duration must be 45 days or less.public String toString()
toString
in class Object
Object.toString()
public ModifyClusterMaintenanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()