Class ScheduledAction
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ScheduledAction.Builder,
ScheduledAction>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduledAction.Builder
builder()
final Boolean
Whether or not the scheduled action is cancellable.final String
A description of the action to be taken.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
The unique identifier of the scheduled action.final Boolean
Whether the action is required or optional.final ScheduledBy
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).final String
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).final Long
The time when the change is scheduled to happen.static Class
<? extends ScheduledAction.Builder> final ActionSeverity
severity()
The severity of the action.final String
The severity of the action.final ActionStatus
status()
The current status of the scheduled action.final String
The current status of the scheduled action.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final ActionType
type()
The type of action that will be taken on the domain.final String
The type of action that will be taken on the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The unique identifier of the scheduled action.
- Returns:
- The unique identifier of the scheduled action.
-
type
The type of action that will be taken on the domain.
If the service returns an enum value that is not available in the current SDK version,
type
will returnActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of action that will be taken on the domain.
- See Also:
-
typeAsString
The type of action that will be taken on the domain.
If the service returns an enum value that is not available in the current SDK version,
type
will returnActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of action that will be taken on the domain.
- See Also:
-
severity
The severity of the action.
If the service returns an enum value that is not available in the current SDK version,
severity
will returnActionSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromseverityAsString()
.- Returns:
- The severity of the action.
- See Also:
-
severityAsString
The severity of the action.
If the service returns an enum value that is not available in the current SDK version,
severity
will returnActionSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromseverityAsString()
.- Returns:
- The severity of the action.
- See Also:
-
scheduledTime
The time when the change is scheduled to happen.
- Returns:
- The time when the change is scheduled to happen.
-
description
A description of the action to be taken.
- Returns:
- A description of the action to be taken.
-
scheduledBy
Whether the action was scheduled manually (
CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).If the service returns an enum value that is not available in the current SDK version,
scheduledBy
will returnScheduledBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromscheduledByAsString()
.- Returns:
- Whether the action was scheduled manually (
CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
). - See Also:
-
scheduledByAsString
Whether the action was scheduled manually (
CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).If the service returns an enum value that is not available in the current SDK version,
scheduledBy
will returnScheduledBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromscheduledByAsString()
.- Returns:
- Whether the action was scheduled manually (
CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
). - See Also:
-
status
The current status of the scheduled action.
If the service returns an enum value that is not available in the current SDK version,
status
will returnActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the scheduled action.
- See Also:
-
statusAsString
The current status of the scheduled action.
If the service returns an enum value that is not available in the current SDK version,
status
will returnActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the scheduled action.
- See Also:
-
mandatory
Whether the action is required or optional.
- Returns:
- Whether the action is required or optional.
-
cancellable
Whether or not the scheduled action is cancellable.
- Returns:
- Whether or not the scheduled action is cancellable.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ScheduledAction.Builder,
ScheduledAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-