@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledAutoTuneDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies details about the scheduled Auto-Tune action. See Auto-Tune for Amazon OpenSearch Service for more information.
Constructor and Description |
---|
ScheduledAutoTuneDetails() |
Modifier and Type | Method and Description |
---|---|
ScheduledAutoTuneDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The Auto-Tune action description.
|
String |
getActionType()
The Auto-Tune action type.
|
Date |
getDate()
The timestamp of the Auto-Tune action scheduled for the domain.
|
String |
getSeverity()
The Auto-Tune action severity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The Auto-Tune action description.
|
void |
setActionType(String actionType)
The Auto-Tune action type.
|
void |
setDate(Date date)
The timestamp of the Auto-Tune action scheduled for the domain.
|
void |
setSeverity(String severity)
The Auto-Tune action severity.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledAutoTuneDetails |
withAction(String action)
The Auto-Tune action description.
|
ScheduledAutoTuneDetails |
withActionType(ScheduledAutoTuneActionType actionType)
The Auto-Tune action type.
|
ScheduledAutoTuneDetails |
withActionType(String actionType)
The Auto-Tune action type.
|
ScheduledAutoTuneDetails |
withDate(Date date)
The timestamp of the Auto-Tune action scheduled for the domain.
|
ScheduledAutoTuneDetails |
withSeverity(ScheduledAutoTuneSeverityType severity)
The Auto-Tune action severity.
|
ScheduledAutoTuneDetails |
withSeverity(String severity)
The Auto-Tune action severity.
|
public void setDate(Date date)
The timestamp of the Auto-Tune action scheduled for the domain.
date
- The timestamp of the Auto-Tune action scheduled for the domain.public Date getDate()
The timestamp of the Auto-Tune action scheduled for the domain.
public ScheduledAutoTuneDetails withDate(Date date)
The timestamp of the Auto-Tune action scheduled for the domain.
date
- The timestamp of the Auto-Tune action scheduled for the domain.public void setActionType(String actionType)
The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.
actionType
- The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.ScheduledAutoTuneActionType
public String getActionType()
The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.
ScheduledAutoTuneActionType
public ScheduledAutoTuneDetails withActionType(String actionType)
The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.
actionType
- The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.ScheduledAutoTuneActionType
public ScheduledAutoTuneDetails withActionType(ScheduledAutoTuneActionType actionType)
The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.
actionType
- The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.ScheduledAutoTuneActionType
public void setAction(String action)
The Auto-Tune action description.
action
- The Auto-Tune action description.public String getAction()
The Auto-Tune action description.
public ScheduledAutoTuneDetails withAction(String action)
The Auto-Tune action description.
action
- The Auto-Tune action description.public void setSeverity(String severity)
The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.
severity
- The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.ScheduledAutoTuneSeverityType
public String getSeverity()
The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.
ScheduledAutoTuneSeverityType
public ScheduledAutoTuneDetails withSeverity(String severity)
The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.
severity
- The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.ScheduledAutoTuneSeverityType
public ScheduledAutoTuneDetails withSeverity(ScheduledAutoTuneSeverityType severity)
The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.
severity
- The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.ScheduledAutoTuneSeverityType
public String toString()
toString
in class Object
Object.toString()
public ScheduledAutoTuneDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.