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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotOptions
clone()
boolean
equals(Object obj)
Integer
getAutomatedSnapshotStartHour()
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain.int
hashCode()
void
setAutomatedSnapshotStartHour(Integer automatedSnapshotStartHour)
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain.String
toString()
Returns a string representation of this object; useful for testing and debugging.SnapshotOptions
withAutomatedSnapshotStartHour(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
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 is0
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 is0
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotOptions clone()
-
-