Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DescribeSnapshotScheduleResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.DescribeSnapshotScheduleResult
All Implemented Interfaces:
Serializable

public class DescribeSnapshotScheduleResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

Constructor Summary
DescribeSnapshotScheduleResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          The snapshot description.
 Integer getRecurrenceInHours()
          The number of hours between 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 getTimezone()
          One of the GatewayTimezone values that indicates the time zone of the gateway.
 String getVolumeARN()
          The Amazon Resource Name (ARN) of the volume that was specified in the request.
 int hashCode()
           
 void setDescription(String description)
          The snapshot description.
 void setRecurrenceInHours(Integer recurrenceInHours)
          The number of hours between 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 setTimezone(GatewayTimezone timezone)
          One of the GatewayTimezone values that indicates the time zone of the gateway.
 void setTimezone(String timezone)
          One of the GatewayTimezone values that indicates the time zone of the gateway.
 void setVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) of the volume that was specified in the request.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSnapshotScheduleResult withDescription(String description)
          The snapshot description.
 DescribeSnapshotScheduleResult withRecurrenceInHours(Integer recurrenceInHours)
          The number of hours between snapshots.
 DescribeSnapshotScheduleResult 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).
 DescribeSnapshotScheduleResult withTimezone(GatewayTimezone timezone)
          One of the GatewayTimezone values that indicates the time zone of the gateway.
 DescribeSnapshotScheduleResult withTimezone(String timezone)
          One of the GatewayTimezone values that indicates the time zone of the gateway.
 DescribeSnapshotScheduleResult withVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) of the volume that was specified in the request.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSnapshotScheduleResult

public DescribeSnapshotScheduleResult()
Method Detail

getVolumeARN

public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume that was specified in the request.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the volume that was specified in the request.

setVolumeARN

public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was specified in the request.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the volume that was specified in the request.

withVolumeARN

public DescribeSnapshotScheduleResult withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was specified in the request.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the volume that was specified in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartAt

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.

Constraints:
Range: 0 - 23

Returns:
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.

setStartAt

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.

Constraints:
Range: 0 - 23

Parameters:
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.

withStartAt

public DescribeSnapshotScheduleResult 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 23

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getRecurrenceInHours

public Integer getRecurrenceInHours()
The number of hours between snapshots.

Constraints:
Range: 1 - 24

Returns:
The number of hours between snapshots.

setRecurrenceInHours

public void setRecurrenceInHours(Integer recurrenceInHours)
The number of hours between snapshots.

Constraints:
Range: 1 - 24

Parameters:
recurrenceInHours - The number of hours between snapshots.

withRecurrenceInHours

public DescribeSnapshotScheduleResult withRecurrenceInHours(Integer recurrenceInHours)
The number of hours between snapshots.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 1 - 24

Parameters:
recurrenceInHours - The number of hours between snapshots.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The snapshot description.

Constraints:
Length: 1 - 255

Returns:
The snapshot description.

setDescription

public void setDescription(String description)
The snapshot description.

Constraints:
Length: 1 - 255

Parameters:
description - The snapshot description.

withDescription

public DescribeSnapshotScheduleResult withDescription(String description)
The snapshot description.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255

Parameters:
description - The snapshot description.
Returns:
A reference to this updated object so that method calls can be chained together.

getTimezone

public String getTimezone()
One of the GatewayTimezone values that indicates the time zone of the gateway.

Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00

Returns:
One of the GatewayTimezone values that indicates the time zone of the gateway.
See Also:
GatewayTimezone

setTimezone

public void setTimezone(String timezone)
One of the GatewayTimezone values that indicates the time zone of the gateway.

Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00

Parameters:
timezone - One of the GatewayTimezone values that indicates the time zone of the gateway.
See Also:
GatewayTimezone

withTimezone

public DescribeSnapshotScheduleResult withTimezone(String timezone)
One of the GatewayTimezone values that indicates the time zone of the gateway.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00

Parameters:
timezone - One of the GatewayTimezone values that indicates the time zone of the gateway.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
GatewayTimezone

setTimezone

public void setTimezone(GatewayTimezone timezone)
One of the GatewayTimezone values that indicates the time zone of the gateway.

Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00

Parameters:
timezone - One of the GatewayTimezone values that indicates the time zone of the gateway.
See Also:
GatewayTimezone

withTimezone

public DescribeSnapshotScheduleResult withTimezone(GatewayTimezone timezone)
One of the GatewayTimezone values that indicates the time zone of the gateway.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00

Parameters:
timezone - One of the GatewayTimezone values that indicates the time zone of the gateway.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
GatewayTimezone

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.