@Generated(value="software.amazon.awssdk:codegen") public final class UsageFeatureResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageFeatureResult.Builder,UsageFeatureResult>
Contains information about the result of the total usage based on the feature.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsageFeatureResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsageFeatureResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
UsageFeature |
feature()
The feature that generated the usage cost.
|
String |
featureAsString()
The feature that generated the usage cost.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsageFeatureResult.Builder> |
serializableBuilderClass() |
UsageFeatureResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Total |
total()
Returns the value of the Total property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UsageFeature feature()
The feature that generated the usage cost.
If the service returns an enum value that is not available in the current SDK version, feature will
return UsageFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
featureAsString().
UsageFeaturepublic final String featureAsString()
The feature that generated the usage cost.
If the service returns an enum value that is not available in the current SDK version, feature will
return UsageFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
featureAsString().
UsageFeaturepublic final Total total()
public UsageFeatureResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageFeatureResult.Builder,UsageFeatureResult>public static UsageFeatureResult.Builder builder()
public static Class<? extends UsageFeatureResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.