@Generated(value="software.amazon.awssdk:codegen") public final class GetCostAndUsageWithResourcesResponse extends CostExplorerResponse implements ToCopyableBuilder<GetCostAndUsageWithResourcesResponse.Builder,GetCostAndUsageWithResourcesResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetCostAndUsageWithResourcesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetCostAndUsageWithResourcesResponse.Builder |
builder() |
List<DimensionValuesWithAttributes> |
dimensionValueAttributes()
The attributes that apply to a specific dimension value.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupDefinition> |
groupDefinitions()
The groups that are specified by the
Filter or GroupBy parameters in the request. |
boolean |
hasDimensionValueAttributes()
Returns true if the DimensionValueAttributes property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasGroupDefinitions()
Returns true if the GroupDefinitions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasResultsByTime()
Returns true if the ResultsByTime property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
nextPageToken()
The token for the next set of retrievable results.
|
List<ResultByTime> |
resultsByTime()
The time period that is covered by the results in the response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCostAndUsageWithResourcesResponse.Builder> |
serializableBuilderClass() |
GetCostAndUsageWithResourcesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextPageToken()
The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.
public final boolean hasGroupDefinitions()
public final List<GroupDefinition> groupDefinitions()
The groups that are specified by the Filter or GroupBy parameters in the request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupDefinitions() to see if a value was sent in this field.
Filter or GroupBy parameters in the
request.public final boolean hasResultsByTime()
public final List<ResultByTime> resultsByTime()
The time period that is covered by the results in the response.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResultsByTime() to see if a value was sent in this field.
public final boolean hasDimensionValueAttributes()
public final List<DimensionValuesWithAttributes> dimensionValueAttributes()
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensionValueAttributes() to see if a value was sent in this field.
public GetCostAndUsageWithResourcesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetCostAndUsageWithResourcesResponse.Builder,GetCostAndUsageWithResourcesResponse>toBuilder in class AwsResponsepublic static GetCostAndUsageWithResourcesResponse.Builder builder()
public static Class<? extends GetCostAndUsageWithResourcesResponse.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.