@Generated(value="software.amazon.awssdk:codegen") public final class UpdateCostCategoryDefinitionRequest extends CostExplorerRequest implements ToCopyableBuilder<UpdateCostCategoryDefinitionRequest.Builder,UpdateCostCategoryDefinitionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateCostCategoryDefinitionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateCostCategoryDefinitionRequest.Builder |
builder() |
String |
costCategoryArn()
The unique identifier for your Cost Category.
|
String |
defaultValue()
Returns the value of the DefaultValue property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRules()
Returns true if the Rules property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<CostCategoryRule> |
rules()
The
Expression object used to categorize costs. |
CostCategoryRuleVersion |
ruleVersion()
Returns the value of the RuleVersion property for this object.
|
String |
ruleVersionAsString()
Returns the value of the RuleVersion property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateCostCategoryDefinitionRequest.Builder> |
serializableBuilderClass() |
UpdateCostCategoryDefinitionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String costCategoryArn()
The unique identifier for your Cost Category.
public final CostCategoryRuleVersion ruleVersion()
If the service returns an enum value that is not available in the current SDK version, ruleVersion will
return CostCategoryRuleVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleVersionAsString().
CostCategoryRuleVersionpublic final String ruleVersionAsString()
If the service returns an enum value that is not available in the current SDK version, ruleVersion will
return CostCategoryRuleVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleVersionAsString().
CostCategoryRuleVersionpublic final boolean hasRules()
public final List<CostCategoryRule> rules()
The Expression object used to categorize costs. For more information, see CostCategoryRule .
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRules() to see if a value was sent in this field.
Expression object used to categorize costs. For more information, see CostCategoryRule .public final String defaultValue()
public UpdateCostCategoryDefinitionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateCostCategoryDefinitionRequest.Builder,UpdateCostCategoryDefinitionRequest>toBuilder in class CostExplorerRequestpublic static UpdateCostCategoryDefinitionRequest.Builder builder()
public static Class<? extends UpdateCostCategoryDefinitionRequest.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 © 2021. All rights reserved.