@Generated(value="software.amazon.awssdk:codegen") public final class GetSavingsPlansUtilizationResponse extends CostExplorerResponse implements ToCopyableBuilder<GetSavingsPlansUtilizationResponse.Builder,GetSavingsPlansUtilizationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSavingsPlansUtilizationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetSavingsPlansUtilizationResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSavingsPlansUtilizationsByTime()
Returns true if the SavingsPlansUtilizationsByTime property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
List<SavingsPlansUtilizationByTime> |
savingsPlansUtilizationsByTime()
The amount of cost/commitment you used your Savings Plans.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSavingsPlansUtilizationResponse.Builder> |
serializableBuilderClass() |
GetSavingsPlansUtilizationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SavingsPlansUtilizationAggregates |
total()
The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSavingsPlansUtilizationsByTime()
public final List<SavingsPlansUtilizationByTime> savingsPlansUtilizationsByTime()
The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSavingsPlansUtilizationsByTime() to see if a value was sent in this field.
public final SavingsPlansUtilizationAggregates total()
The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.
public GetSavingsPlansUtilizationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSavingsPlansUtilizationResponse.Builder,GetSavingsPlansUtilizationResponse>toBuilder in class AwsResponsepublic static GetSavingsPlansUtilizationResponse.Builder builder()
public static Class<? extends GetSavingsPlansUtilizationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.