@Generated(value="software.amazon.awssdk:codegen") public final class CreateBudgetActionRequest extends BudgetsRequest implements ToCopyableBuilder<CreateBudgetActionRequest.Builder,CreateBudgetActionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBudgetActionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
Returns the value of the AccountId property for this object.
|
ActionThreshold |
actionThreshold()
Returns the value of the ActionThreshold property for this object.
|
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 CreateBudgetActionRequest.Builder |
builder() |
Definition |
definition()
Returns the value of the Definition property for this object.
|
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()
For responses, this returns true if the service returned a value for the Subscribers property.
|
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 CreateBudgetActionRequest.Builder> |
serializableBuilderClass() |
List<Subscriber> |
subscribers()
Returns the value of the Subscribers property for this object.
|
CreateBudgetActionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
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()
public final Definition definition()
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 boolean hasSubscribers()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Subscriber> subscribers()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubscribers() method.
public CreateBudgetActionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBudgetActionRequest.Builder,CreateBudgetActionRequest>toBuilder in class BudgetsRequestpublic static CreateBudgetActionRequest.Builder builder()
public static Class<? extends CreateBudgetActionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.