@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledAction extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScheduledAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledAction.Builder |
builder() |
Boolean |
cancellable()
Whether or not the scheduled action is cancellable.
|
String |
description()
A description of the action to be taken.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the scheduled action.
|
Boolean |
mandatory()
Whether the action is required or optional.
|
ScheduledBy |
scheduledBy()
Whether the action was scheduled manually (
CUSTOMER, or by OpenSearch Service automatically (
SYSTEM). |
String |
scheduledByAsString()
Whether the action was scheduled manually (
CUSTOMER, or by OpenSearch Service automatically (
SYSTEM). |
Long |
scheduledTime()
The time when the change is scheduled to happen.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduledAction.Builder> |
serializableBuilderClass() |
ActionSeverity |
severity()
The severity of the action.
|
String |
severityAsString()
The severity of the action.
|
ActionStatus |
status()
The current status of the scheduled action.
|
String |
statusAsString()
The current status of the scheduled action.
|
ScheduledAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ActionType |
type()
The type of action that will be taken on the domain.
|
String |
typeAsString()
The type of action that will be taken on the domain.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier of the scheduled action.
public final ActionType 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 return
ActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ActionTypepublic final String 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 return
ActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ActionTypepublic final ActionSeverity severity()
The severity of the action.
If the service returns an enum value that is not available in the current SDK version, severity will
return ActionSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityAsString().
ActionSeveritypublic final String severityAsString()
The severity of the action.
If the service returns an enum value that is not available in the current SDK version, severity will
return ActionSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityAsString().
ActionSeveritypublic final Long scheduledTime()
The time when the change is scheduled to happen.
public final String description()
A description of the action to be taken.
public final ScheduledBy 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
return ScheduledBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scheduledByAsString().
CUSTOMER, or by OpenSearch Service automatically
(SYSTEM).ScheduledBypublic final String 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
return ScheduledBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scheduledByAsString().
CUSTOMER, or by OpenSearch Service automatically
(SYSTEM).ScheduledBypublic final ActionStatus 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
return ActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ActionStatuspublic final String 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
return ActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ActionStatuspublic final Boolean mandatory()
Whether the action is required or optional.
public final Boolean cancellable()
Whether or not the scheduled action is cancellable.
public ScheduledAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScheduledAction.Builder,ScheduledAction>public static ScheduledAction.Builder builder()
public static Class<? extends ScheduledAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.