@Generated(value="software.amazon.awssdk:codegen") public final class CostCategoryReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CostCategoryReference.Builder,CostCategoryReference>
A reference to a Cost Category containing only enough information to identify the Cost Category.
You can use this information to retrieve the full Cost Category information using DescribeCostCategory.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CostCategoryReference.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CostCategoryReference.Builder |
builder() |
String |
costCategoryArn()
The unique identifier for your Cost Category.
|
String |
defaultValue()
Returns the value of the DefaultValue property for this object.
|
String |
effectiveEnd()
The Cost Category's effective end date.
|
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 |
hasProcessingStatus()
Returns true if the ProcessingStatus 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 |
hasValues()
Returns true if the Values 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 |
name()
Returns the value of the Name property for this object.
|
Integer |
numberOfRules()
The number of rules associated with a specific Cost Category.
|
List<CostCategoryProcessingStatus> |
processingStatus()
The list of processing statuses for Cost Management products for a specific cost category.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CostCategoryReference.Builder> |
serializableBuilderClass() |
CostCategoryReference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
A list of unique cost category values in a specific cost category.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String costCategoryArn()
The unique identifier for your Cost Category.
public final String name()
public final String effectiveStart()
The Cost Category's effective start date.
public final String effectiveEnd()
The Cost Category's effective end date.
public final Integer numberOfRules()
The number of rules associated with a specific Cost Category.
public final boolean hasProcessingStatus()
public final List<CostCategoryProcessingStatus> processingStatus()
The list of processing statuses for Cost Management products for a specific cost category.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProcessingStatus() to see if a value was sent in this field.
public final boolean hasValues()
public final List<String> values()
A list of unique cost category values in a specific cost category.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasValues() to see if a value was sent in this field.
public final String defaultValue()
public CostCategoryReference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CostCategoryReference.Builder,CostCategoryReference>public static CostCategoryReference.Builder builder()
public static Class<? extends CostCategoryReference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.