@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
A budget action resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionId()
A system-generated universally unique identifier (UUID) for the action.
|
ActionThreshold |
actionThreshold()
The trigger threshold of the action.
|
ActionType |
actionType()
The type of action.
|
String |
actionTypeAsString()
The type of action.
|
ApprovalModel |
approvalModel()
This specifies if the action needs manual or automatic approval.
|
String |
approvalModelAsString()
This specifies if the action needs manual or automatic approval.
|
String |
budgetName()
Returns the value of the BudgetName property for this object.
|
static Action.Builder |
builder() |
Definition |
definition()
Where you specify all of the type-specific parameters.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleArn()
The role passed for action execution and reversion.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubscribers()
Returns true if the Subscribers property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
NotificationType |
notificationType()
Returns the value of the NotificationType property for this object.
|
String |
notificationTypeAsString()
Returns the value of the NotificationType property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
ActionStatus |
status()
The status of action.
|
String |
statusAsString()
The status of action.
|
List<Subscriber> |
subscribers()
Returns the value of the Subscribers property for this object.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String actionId()
A system-generated universally unique identifier (UUID) for the action.
public final String budgetName()
public final NotificationType notificationType()
If the service returns an enum value that is not available in the current SDK version, notificationType
will return NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from notificationTypeAsString().
NotificationTypepublic final String notificationTypeAsString()
If the service returns an enum value that is not available in the current SDK version, notificationType
will return NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from notificationTypeAsString().
NotificationTypepublic final ActionType actionType()
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
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().
ActionTypepublic final String actionTypeAsString()
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
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().
ActionTypepublic final ActionThreshold actionThreshold()
The trigger threshold of the action.
public final Definition definition()
Where you specify all of the type-specific parameters.
public final String executionRoleArn()
The role passed for action execution and reversion. Roles and actions must be in the same account.
public final ApprovalModel approvalModel()
This specifies if the action needs manual or automatic approval.
If the service returns an enum value that is not available in the current SDK version, approvalModel
will return ApprovalModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
approvalModelAsString().
ApprovalModelpublic final String approvalModelAsString()
This specifies if the action needs manual or automatic approval.
If the service returns an enum value that is not available in the current SDK version, approvalModel
will return ApprovalModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
approvalModelAsString().
ApprovalModelpublic final ActionStatus status()
The status of 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 status of 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 hasSubscribers()
public final List<Subscriber> subscribers()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubscribers() 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.