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.Builderbuilder()final BooleanWhether or not the scheduled action is cancellable.final StringA description of the action to be taken.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The unique identifier of the scheduled action.final BooleanWhether the action is required or optional.final ScheduledByWhether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM).final StringWhether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM).final LongThe time when the change is scheduled to happen.static Class<? extends ScheduledAction.Builder>final ActionSeverityseverity()The severity of the action.final StringThe severity of the action.final ActionStatusstatus()The current status of the scheduled action.final StringThe current status of the scheduled action.final StringtoString()Returns a string representation of this object.final ActionTypetype()The type of action that will be taken on the domain.final StringThe type of action that will be taken on the domain.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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,
typewill 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,
typewill 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,
severitywill 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,
severitywill 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,
scheduledBywill 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,
scheduledBywill 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,
statuswill 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,
statuswill 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledAction.Builder,ScheduledAction>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-