@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
Describes an action. For more information, see AWS FIS actions in the AWS Fault Injection Simulator User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Action.Builder |
builder() |
String |
description()
The description for the action.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasTargets()
Returns true if the Targets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
id()
The ID of the action.
|
Map<String,ActionParameter> |
parameters()
The action parameters, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags for the action.
|
Map<String,ActionTarget> |
targets()
The supported targets for the action.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the action.
public final String description()
The description for the action.
public final boolean hasParameters()
public final Map<String,ActionParameter> parameters()
The action parameters, if applicable.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
public final boolean hasTargets()
public final Map<String,ActionTarget> targets()
The supported targets for the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargets() to see if a value was sent in this field.
public final boolean hasTags()
public final Map<String,String> tags()
The tags for the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
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()
Copyright © 2021. All rights reserved.