@Generated(value="software.amazon.awssdk:codegen") public final class CostAllocationTag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CostAllocationTag.Builder,CostAllocationTag>
The cost allocation tag structure. This includes detailed metadata for the CostAllocationTag object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CostAllocationTag.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CostAllocationTag.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CostAllocationTag.Builder> |
serializableBuilderClass() |
CostAllocationTagStatus |
status()
The status of a cost allocation tag.
|
String |
statusAsString()
The status of a cost allocation tag.
|
String |
tagKey()
The key for the cost allocation tag.
|
CostAllocationTag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CostAllocationTagType |
type()
The type of cost allocation tag.
|
String |
typeAsString()
The type of cost allocation tag.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tagKey()
The key for the cost allocation tag.
public final CostAllocationTagType type()
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
If the service returns an enum value that is not available in the current SDK version, type will return
CostAllocationTagType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to
support Amazon Web Services resources for cost allocation purposes. UserDefined type tags
are tags that you define, create, and apply to resources.CostAllocationTagTypepublic final String typeAsString()
The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags.
AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. UserDefined type tags are tags that you define,
create, and apply to resources.
If the service returns an enum value that is not available in the current SDK version, type will return
CostAllocationTagType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AWSGenerated or UserDefined type
tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to
support Amazon Web Services resources for cost allocation purposes. UserDefined type tags
are tags that you define, create, and apply to resources.CostAllocationTagTypepublic final CostAllocationTagStatus status()
The status of a cost allocation tag.
If the service returns an enum value that is not available in the current SDK version, status will
return CostAllocationTagStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
CostAllocationTagStatuspublic final String statusAsString()
The status of a cost allocation tag.
If the service returns an enum value that is not available in the current SDK version, status will
return CostAllocationTagStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
CostAllocationTagStatuspublic CostAllocationTag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CostAllocationTag.Builder,CostAllocationTag>public static CostAllocationTag.Builder builder()
public static Class<? extends CostAllocationTag.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.