|
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)
Constructor 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. |
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. |
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. |
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()
Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
Constraints:
Range: 0 - 23
Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
public void setStartAt(Integer startAt)
Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
Constraints:
Range: 0 - 23
startAt
- The hour of the day at which the snapshot schedule begins. Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
public UpdateSnapshotScheduleRequest withStartAt(Integer startAt)
Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
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. Length: 2
Valid Values: An integer between 0 and 23, representing the hour of day.
public Integer getRecurrenceInHours()
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
Constraints:
Range: 1 - 24
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
public void setRecurrenceInHours(Integer recurrenceInHours)
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
Constraints:
Range: 1 - 24
recurrenceInHours
- Frequency of snapshots. Specify the number of hours between snapshots.
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
public UpdateSnapshotScheduleRequest withRecurrenceInHours(Integer recurrenceInHours)
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
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.
Valid Values: 1
, 2
,
4
, 8
, 12
, 24
.
public String getDescription()
Length: up to 255 characters.
Constraints:
Length: 1 - 255
Length: up to 255 characters.
public void setDescription(String description)
Length: up to 255 characters.
Constraints:
Length: 1 - 255
description
- Optional description of the snapshot that overwrites the existing
description. Length: up to 255 characters.
public UpdateSnapshotScheduleRequest withDescription(String description)
Length: up to 255 characters.
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. Length: up to 255 characters.
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 |