public class UpdateSnapshotScheduleRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A JSON object containing one or more of the following fields:
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Optional description of the snapshot that overwrites the existing
description.
|
private java.lang.Integer |
recurrenceInHours
Frequency of snapshots.
|
private java.lang.Integer |
startAt
The hour of the day at which the snapshot schedule begins represented as
hh, where hh is the hour (0 to 23).
|
private java.lang.String |
volumeARN
The Amazon Resource Name (ARN) of the volume.
|
NOOP
Constructor and Description |
---|
UpdateSnapshotScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSnapshotScheduleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Optional description of the snapshot that overwrites the existing
description.
|
java.lang.Integer |
getRecurrenceInHours()
Frequency of snapshots.
|
java.lang.Integer |
getStartAt()
The hour of the day at which the snapshot schedule begins represented as
hh, where hh is the hour (0 to 23).
|
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Optional description of the snapshot that overwrites the existing
description.
|
void |
setRecurrenceInHours(java.lang.Integer recurrenceInHours)
Frequency of snapshots.
|
void |
setStartAt(java.lang.Integer startAt)
The hour of the day at which the snapshot schedule begins represented as
hh, where hh is the hour (0 to 23).
|
void |
setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSnapshotScheduleRequest |
withDescription(java.lang.String description)
Optional description of the snapshot that overwrites the existing
description.
|
UpdateSnapshotScheduleRequest |
withRecurrenceInHours(java.lang.Integer recurrenceInHours)
Frequency of snapshots.
|
UpdateSnapshotScheduleRequest |
withStartAt(java.lang.Integer startAt)
The hour of the day at which the snapshot schedule begins represented as
hh, where hh is the hour (0 to 23).
|
UpdateSnapshotScheduleRequest |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String volumeARN
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
private java.lang.Integer startAt
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
private java.lang.Integer recurrenceInHours
Frequency of snapshots. Specify the number of hours between snapshots.
private java.lang.String description
Optional description of the snapshot that overwrites the existing description.
public void setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.public java.lang.String getVolumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public UpdateSnapshotScheduleRequest withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.public void setStartAt(java.lang.Integer startAt)
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
startAt
- The hour of the day at which the snapshot schedule begins
represented as hh, where hh is the hour (0 to 23).
The hour of the day is in the time zone of the gateway.public java.lang.Integer getStartAt()
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
public UpdateSnapshotScheduleRequest withStartAt(java.lang.Integer startAt)
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
startAt
- The hour of the day at which the snapshot schedule begins
represented as hh, where hh is the hour (0 to 23).
The hour of the day is in the time zone of the gateway.public void setRecurrenceInHours(java.lang.Integer recurrenceInHours)
Frequency of snapshots. Specify the number of hours between snapshots.
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between
snapshots.public java.lang.Integer getRecurrenceInHours()
Frequency of snapshots. Specify the number of hours between snapshots.
public UpdateSnapshotScheduleRequest withRecurrenceInHours(java.lang.Integer recurrenceInHours)
Frequency of snapshots. Specify the number of hours between snapshots.
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between
snapshots.public void setDescription(java.lang.String description)
Optional description of the snapshot that overwrites the existing description.
description
- Optional description of the snapshot that overwrites the existing
description.public java.lang.String getDescription()
Optional description of the snapshot that overwrites the existing description.
public UpdateSnapshotScheduleRequest withDescription(java.lang.String description)
Optional description of the snapshot that overwrites the existing description.
description
- Optional description of the snapshot that overwrites the existing
description.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateSnapshotScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()