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
0hours.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotOptionsclone()booleanequals(Object obj)IntegergetAutomatedSnapshotStartHour()Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain.inthashCode()voidsetAutomatedSnapshotStartHour(Integer automatedSnapshotStartHour)Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain.StringtoString()Returns a string representation of this object; useful for testing and debugging.SnapshotOptionswithAutomatedSnapshotStartHour(Integer automatedSnapshotStartHour)Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain.
-
-
-
Method Detail
-
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
0hours.- Parameters:
automatedSnapshotStartHour- Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is0hours.
-
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
0hours.- Returns:
- Specifies the time, in UTC format, when the service takes a daily
automated snapshot of the specified Elasticsearch domain. Default
value is
0hours.
-
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
0hours.- Parameters:
automatedSnapshotStartHour- Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is0hours.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotOptions clone()
-
-