|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.UpdateSnapshotScheduleRequest
public class UpdateSnapshotScheduleRequest
Container for the parameters to the UpdateSnapshotSchedule operation
.
This operation updates a snapshot schedule configured for a gateway volume.
The default snapshot schedule for volume is once every 24 hours, starting at the creation time of the volume. You can use this API to change the shapshot schedule configured for the volume.
In the request you must identify the gateway volume whose snapshot schedule you want to update, and the schedule information, including when you want the snapshot to begin on a day and the frequency (in hours) of snapshots.
AWSStorageGateway.updateSnapshotSchedule(UpdateSnapshotScheduleRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateSnapshotScheduleRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateSnapshotScheduleRequest()
Method Detail |
---|
public String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(String volumeARN)
Constraints:
Length: 50 - 500
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.public UpdateSnapshotScheduleRequest withVolumeARN(String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.
public Integer getStartAt()
Constraints:
Range: 0 - 23
public void setStartAt(Integer startAt)
Constraints:
Range: 0 - 23
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 UpdateSnapshotScheduleRequest withStartAt(Integer startAt)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 23
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 getRecurrenceInHours()
Constraints:
Range: 1 - 24
public void setRecurrenceInHours(Integer recurrenceInHours)
Constraints:
Range: 1 - 24
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between snapshots.public UpdateSnapshotScheduleRequest withRecurrenceInHours(Integer recurrenceInHours)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 24
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between snapshots.
public String getDescription()
Constraints:
Length: 1 - 255
public void setDescription(String description)
Constraints:
Length: 1 - 255
description
- Optional description of the snapshot that overwrites the existing
description.public UpdateSnapshotScheduleRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
description
- Optional description of the snapshot that overwrites the existing
description.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |