@Generated(value="software.amazon.awssdk:codegen") public final class ManagedAction extends Object implements ToCopyableBuilder<ManagedAction.Builder,ManagedAction>
The record of an upcoming or in-progress managed action.
Modifier and Type | Class and Description |
---|---|
static interface |
ManagedAction.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionDescription()
A description of the managed action.
|
String |
actionId()
A unique identifier for the managed action.
|
ActionType |
actionType()
The type of managed action.
|
String |
actionTypeAsString()
The type of managed action.
|
static ManagedAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends ManagedAction.Builder> |
serializableBuilderClass() |
ActionStatus |
status()
The status of the managed action.
|
String |
statusAsString()
The status of the managed action.
|
ManagedAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
windowStartTime()
The start time of the maintenance window in which the managed action will execute.
|
copy
public String actionId()
A unique identifier for the managed action.
public String actionDescription()
A description of the managed action.
public ActionType actionType()
The type of managed action.
If the service returns an enum value that is not available in the current SDK version, actionType
will
return ActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionTypeAsString()
.
ActionType
public String actionTypeAsString()
The type of managed action.
If the service returns an enum value that is not available in the current SDK version, actionType
will
return ActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionTypeAsString()
.
ActionType
public ActionStatus status()
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
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()
.
Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public String statusAsString()
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
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()
.
Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public Instant windowStartTime()
The start time of the maintenance window in which the managed action will execute.
public ManagedAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ManagedAction.Builder,ManagedAction>
public static ManagedAction.Builder builder()
public static Class<? extends ManagedAction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.