Class UpdateSnapshotScheduleRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.UpdateSnapshotScheduleRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateSnapshotScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • UpdateSnapshotScheduleRequest

      public UpdateSnapshotScheduleRequest()
  • Method Details

    • setVolumeARN

      public void setVolumeARN(String volumeARN)

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

      Parameters:
      volumeARN - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
    • getVolumeARN

      public String getVolumeARN()

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

      Returns:
      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
    • withVolumeARN

      public UpdateSnapshotScheduleRequest withVolumeARN(String volumeARN)

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

      Parameters:
      volumeARN - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      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.
    • 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.

      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.
    • withStartAt

      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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • setRecurrenceInHours

      public void setRecurrenceInHours(Integer recurrenceInHours)

      Frequency of snapshots. Specify the number of hours between snapshots.

      Parameters:
      recurrenceInHours - Frequency of snapshots. Specify the number of hours between snapshots.
    • getRecurrenceInHours

      public Integer getRecurrenceInHours()

      Frequency of snapshots. Specify the number of hours between snapshots.

      Returns:
      Frequency of snapshots. Specify the number of hours between snapshots.
    • withRecurrenceInHours

      public UpdateSnapshotScheduleRequest withRecurrenceInHours(Integer recurrenceInHours)

      Frequency of snapshots. Specify the number of hours between snapshots.

      Parameters:
      recurrenceInHours - Frequency of snapshots. Specify the number of hours between snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      Optional description of the snapshot that overwrites the existing description.

      Parameters:
      description - Optional description of the snapshot that overwrites the existing description.
    • getDescription

      public String getDescription()

      Optional description of the snapshot that overwrites the existing description.

      Returns:
      Optional description of the snapshot that overwrites the existing description.
    • withDescription

      public UpdateSnapshotScheduleRequest withDescription(String description)

      Optional description of the snapshot that overwrites the existing description.

      Parameters:
      description - Optional description of the snapshot that overwrites the existing description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: