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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.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 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledAction.Builder,ScheduledAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-