Class SnapshotOptions

java.lang.Object
com.amazonaws.services.elasticsearch.model.SnapshotOptions
All Implemented Interfaces:
Serializable, Cloneable

public class SnapshotOptions extends Object implements Serializable, Cloneable

Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

See Also:
  • Constructor Details

    • SnapshotOptions

      public SnapshotOptions()
  • Method Details

    • setAutomatedSnapshotStartHour

      public void setAutomatedSnapshotStartHour(Integer automatedSnapshotStartHour)

      Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

      Parameters:
      automatedSnapshotStartHour - Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.
    • getAutomatedSnapshotStartHour

      public Integer getAutomatedSnapshotStartHour()

      Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

      Returns:
      Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.
    • withAutomatedSnapshotStartHour

      public SnapshotOptions withAutomatedSnapshotStartHour(Integer automatedSnapshotStartHour)

      Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

      Parameters:
      automatedSnapshotStartHour - Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.
      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

      public SnapshotOptions clone()
      Overrides:
      clone in class Object