@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
The action that starts at the beginning of an incident. The response plan defines the action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
static class |
Action.Type |
| Modifier and Type | Method and Description |
|---|---|
static Action.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Action |
fromSsmAutomation(Consumer<SsmAutomation.Builder> ssmAutomation)
Create an instance of this class with
ssmAutomation() initialized to the given value. |
static Action |
fromSsmAutomation(SsmAutomation ssmAutomation)
Create an instance of this class with
ssmAutomation() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
SsmAutomation |
ssmAutomation()
The Systems Manager automation document to start as the runbook at the beginning of the incident.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Action.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SsmAutomation ssmAutomation()
The Systems Manager automation document to start as the runbook at the beginning of the incident.
public Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Action fromSsmAutomation(SsmAutomation ssmAutomation)
ssmAutomation() initialized to the given value.
The Systems Manager automation document to start as the runbook at the beginning of the incident.
ssmAutomation - The Systems Manager automation document to start as the runbook at the beginning of the incident.public static Action fromSsmAutomation(Consumer<SsmAutomation.Builder> ssmAutomation)
ssmAutomation() initialized to the given value.
The Systems Manager automation document to start as the runbook at the beginning of the incident.
ssmAutomation - The Systems Manager automation document to start as the runbook at the beginning of the incident.public Action.Type type()
Action.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Action.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.