@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.
|
String |
effectiveStart()
The Cost Category's effective start date.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRules()
For responses, this returns true if the service returned a value for the Rules property.
|
boolean |
hasSplitChargeRules()
For responses, this returns true if the service returned a value for the SplitChargeRules property.
|
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() |
List<CostCategorySplitChargeRule> |
splitChargeRules()
The split charge rules used to allocate your charges between your Cost Category values.
|
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 String effectiveStart()
The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.
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()
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<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.
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 hasRules() method.
Expression object used to categorize costs. For more information, see CostCategoryRule .public final String defaultValue()
public final boolean hasSplitChargeRules()
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<CostCategorySplitChargeRule> splitChargeRules()
The split charge rules used to allocate your charges between your Cost Category values.
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 hasSplitChargeRules() method.
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 © 2022. All rights reserved.