@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSnapshotScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
NOOP
Constructor and Description |
---|
UpdateSnapshotScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSnapshotScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
Optional description of the snapshot that overwrites the existing description.
|
Integer |
getRecurrenceInHours()
Frequency of snapshots.
|
Integer |
getStartAt()
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour
(0 to 23).
|
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
setDescription(String description)
Optional description of the snapshot that overwrites the existing description.
|
void |
setRecurrenceInHours(Integer recurrenceInHours)
Frequency of snapshots.
|
void |
setStartAt(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(String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateSnapshotScheduleRequest |
withDescription(String description)
Optional description of the snapshot that overwrites the existing description.
|
UpdateSnapshotScheduleRequest |
withRecurrenceInHours(Integer recurrenceInHours)
Frequency of snapshots.
|
UpdateSnapshotScheduleRequest |
withStartAt(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(String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
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 setVolumeARN(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 String getVolumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public UpdateSnapshotScheduleRequest withVolumeARN(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(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 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(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(Integer recurrenceInHours)
Frequency of snapshots. Specify the number of hours between snapshots.
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between snapshots.public Integer getRecurrenceInHours()
Frequency of snapshots. Specify the number of hours between snapshots.
public UpdateSnapshotScheduleRequest withRecurrenceInHours(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(String description)
Optional description of the snapshot that overwrites the existing description.
description
- Optional description of the snapshot that overwrites the existing description.public String getDescription()
Optional description of the snapshot that overwrites the existing description.
public UpdateSnapshotScheduleRequest withDescription(String description)
Optional description of the snapshot that overwrites the existing description.
description
- Optional description of the snapshot that overwrites the existing description.public String toString()
toString
in class Object
Object.toString()
public UpdateSnapshotScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.