Class GroupDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.GroupDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>
@Generated("software.amazon.awssdk:codegen") public final class GroupDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>
Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGroupDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupDefinition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The string that represents a key for a specified group.List<SdkField<?>>sdkFields()static Class<? extends GroupDefinition.Builder>serializableBuilderClass()GroupDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.GroupDefinitionTypetype()The string that represents the type of group.StringtypeAsString()The string that represents the type of group.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final GroupDefinitionType type()
The string that represents the type of group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnGroupDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The string that represents the type of group.
- See Also:
GroupDefinitionType
-
typeAsString
public final String typeAsString()
The string that represents the type of group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnGroupDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The string that represents the type of group.
- See Also:
GroupDefinitionType
-
key
public final String key()
The string that represents a key for a specified group.
- Returns:
- The string that represents a key for a specified group.
-
toBuilder
public GroupDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>
-
builder
public static GroupDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends GroupDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-