@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about a scheduled configuration change for an OpenSearch Service domain. This actions can be a service software update or a blue/green Auto-Tune enhancement.
Constructor and Description |
---|
ScheduledAction() |
Modifier and Type | Method and Description |
---|---|
ScheduledAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCancellable()
Whether or not the scheduled action is cancellable.
|
String |
getDescription()
A description of the action to be taken.
|
String |
getId()
The unique identifier of the scheduled action.
|
Boolean |
getMandatory()
Whether the action is required or optional.
|
String |
getScheduledBy()
Whether the action was scheduled manually (
CUSTOMER , or by OpenSearch Service automatically (
SYSTEM ). |
Long |
getScheduledTime()
The time when the change is scheduled to happen.
|
String |
getSeverity()
The severity of the action.
|
String |
getStatus()
The current status of the scheduled action.
|
String |
getType()
The type of action that will be taken on the domain.
|
int |
hashCode() |
Boolean |
isCancellable()
Whether or not the scheduled action is cancellable.
|
Boolean |
isMandatory()
Whether the action is required or optional.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCancellable(Boolean cancellable)
Whether or not the scheduled action is cancellable.
|
void |
setDescription(String description)
A description of the action to be taken.
|
void |
setId(String id)
The unique identifier of the scheduled action.
|
void |
setMandatory(Boolean mandatory)
Whether the action is required or optional.
|
void |
setScheduledBy(String scheduledBy)
Whether the action was scheduled manually (
CUSTOMER , or by OpenSearch Service automatically (
SYSTEM ). |
void |
setScheduledTime(Long scheduledTime)
The time when the change is scheduled to happen.
|
void |
setSeverity(String severity)
The severity of the action.
|
void |
setStatus(String status)
The current status of the scheduled action.
|
void |
setType(String type)
The type of action that will be taken on the domain.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledAction |
withCancellable(Boolean cancellable)
Whether or not the scheduled action is cancellable.
|
ScheduledAction |
withDescription(String description)
A description of the action to be taken.
|
ScheduledAction |
withId(String id)
The unique identifier of the scheduled action.
|
ScheduledAction |
withMandatory(Boolean mandatory)
Whether the action is required or optional.
|
ScheduledAction |
withScheduledBy(ScheduledBy scheduledBy)
Whether the action was scheduled manually (
CUSTOMER , or by OpenSearch Service automatically (
SYSTEM ). |
ScheduledAction |
withScheduledBy(String scheduledBy)
Whether the action was scheduled manually (
CUSTOMER , or by OpenSearch Service automatically (
SYSTEM ). |
ScheduledAction |
withScheduledTime(Long scheduledTime)
The time when the change is scheduled to happen.
|
ScheduledAction |
withSeverity(ActionSeverity severity)
The severity of the action.
|
ScheduledAction |
withSeverity(String severity)
The severity of the action.
|
ScheduledAction |
withStatus(ActionStatus status)
The current status of the scheduled action.
|
ScheduledAction |
withStatus(String status)
The current status of the scheduled action.
|
ScheduledAction |
withType(ActionType type)
The type of action that will be taken on the domain.
|
ScheduledAction |
withType(String type)
The type of action that will be taken on the domain.
|
public void setId(String id)
The unique identifier of the scheduled action.
id
- The unique identifier of the scheduled action.public String getId()
The unique identifier of the scheduled action.
public ScheduledAction withId(String id)
The unique identifier of the scheduled action.
id
- The unique identifier of the scheduled action.public void setType(String type)
The type of action that will be taken on the domain.
type
- The type of action that will be taken on the domain.ActionType
public String getType()
The type of action that will be taken on the domain.
ActionType
public ScheduledAction withType(String type)
The type of action that will be taken on the domain.
type
- The type of action that will be taken on the domain.ActionType
public ScheduledAction withType(ActionType type)
The type of action that will be taken on the domain.
type
- The type of action that will be taken on the domain.ActionType
public void setSeverity(String severity)
The severity of the action.
severity
- The severity of the action.ActionSeverity
public String getSeverity()
The severity of the action.
ActionSeverity
public ScheduledAction withSeverity(String severity)
The severity of the action.
severity
- The severity of the action.ActionSeverity
public ScheduledAction withSeverity(ActionSeverity severity)
The severity of the action.
severity
- The severity of the action.ActionSeverity
public void setScheduledTime(Long scheduledTime)
The time when the change is scheduled to happen.
scheduledTime
- The time when the change is scheduled to happen.public Long getScheduledTime()
The time when the change is scheduled to happen.
public ScheduledAction withScheduledTime(Long scheduledTime)
The time when the change is scheduled to happen.
scheduledTime
- The time when the change is scheduled to happen.public void setDescription(String description)
A description of the action to be taken.
description
- A description of the action to be taken.public String getDescription()
A description of the action to be taken.
public ScheduledAction withDescription(String description)
A description of the action to be taken.
description
- A description of the action to be taken.public void setScheduledBy(String scheduledBy)
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).
scheduledBy
- Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).ScheduledBy
public String getScheduledBy()
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).
CUSTOMER
, or by OpenSearch Service automatically
(SYSTEM
).ScheduledBy
public ScheduledAction withScheduledBy(String scheduledBy)
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).
scheduledBy
- Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).ScheduledBy
public ScheduledAction withScheduledBy(ScheduledBy scheduledBy)
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).
scheduledBy
- Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (
SYSTEM
).ScheduledBy
public void setStatus(String status)
The current status of the scheduled action.
status
- The current status of the scheduled action.ActionStatus
public String getStatus()
The current status of the scheduled action.
ActionStatus
public ScheduledAction withStatus(String status)
The current status of the scheduled action.
status
- The current status of the scheduled action.ActionStatus
public ScheduledAction withStatus(ActionStatus status)
The current status of the scheduled action.
status
- The current status of the scheduled action.ActionStatus
public void setMandatory(Boolean mandatory)
Whether the action is required or optional.
mandatory
- Whether the action is required or optional.public Boolean getMandatory()
Whether the action is required or optional.
public ScheduledAction withMandatory(Boolean mandatory)
Whether the action is required or optional.
mandatory
- Whether the action is required or optional.public Boolean isMandatory()
Whether the action is required or optional.
public void setCancellable(Boolean cancellable)
Whether or not the scheduled action is cancellable.
cancellable
- Whether or not the scheduled action is cancellable.public Boolean getCancellable()
Whether or not the scheduled action is cancellable.
public ScheduledAction withCancellable(Boolean cancellable)
Whether or not the scheduled action is cancellable.
cancellable
- Whether or not the scheduled action is cancellable.public Boolean isCancellable()
Whether or not the scheduled action is cancellable.
public String toString()
toString
in class Object
Object.toString()
public ScheduledAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.