Class RootCause
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.RootCause
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RootCause.Builder,RootCause>
@Generated("software.amazon.awssdk:codegen") public final class RootCause extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RootCause.Builder,RootCause>
The combination of Amazon Web Services service, linked account, linked account name, Region, and usage type where a cost anomaly is observed, along with the dollar and percentage amount of the anomaly impact. The linked account name will only be available when the account name can be identified.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRootCause.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RootCause.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RootCauseImpactimpact()The dollar impact for the root cause.StringlinkedAccount()The member account value that's associated with the cost anomaly.StringlinkedAccountName()The member account name value that's associated with the cost anomaly.Stringregion()The Amazon Web Services Region that's associated with the cost anomaly.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RootCause.Builder>serializableBuilderClass()Stringservice()The Amazon Web Services service name that's associated with the cost anomaly.RootCause.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringusageType()TheUsageTypevalue that's associated with the cost anomaly.-
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
-
service
public final String service()
The Amazon Web Services service name that's associated with the cost anomaly.
- Returns:
- The Amazon Web Services service name that's associated with the cost anomaly.
-
region
public final String region()
The Amazon Web Services Region that's associated with the cost anomaly.
- Returns:
- The Amazon Web Services Region that's associated with the cost anomaly.
-
linkedAccount
public final String linkedAccount()
The member account value that's associated with the cost anomaly.
- Returns:
- The member account value that's associated with the cost anomaly.
-
linkedAccountName
public final String linkedAccountName()
The member account name value that's associated with the cost anomaly.
- Returns:
- The member account name value that's associated with the cost anomaly.
-
usageType
public final String usageType()
The
UsageTypevalue that's associated with the cost anomaly.- Returns:
- The
UsageTypevalue that's associated with the cost anomaly.
-
impact
public final RootCauseImpact impact()
The dollar impact for the root cause.
- Returns:
- The dollar impact for the root cause.
-
toBuilder
public RootCause.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RootCause.Builder,RootCause>
-
builder
public static RootCause.Builder builder()
-
serializableBuilderClass
public static Class<? extends RootCause.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-