@Generated(value="software.amazon.awssdk:codegen") public final class ResultByTime extends Object implements StructuredPojo, ToCopyableBuilder<ResultByTime.Builder,ResultByTime>
The result that is associated with a time period.
Modifier and Type | Class and Description |
---|---|
static interface |
ResultByTime.Builder |
Modifier and Type | Method and Description |
---|---|
static ResultByTime.Builder |
builder() |
boolean |
equals(Object obj) |
Boolean |
estimated()
Whether or not this result is estimated.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<Group> |
groups()
The groups that are included in this time period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ResultByTime.Builder> |
serializableBuilderClass() |
DateInterval |
timePeriod()
The time period covered by a result.
|
ResultByTime.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Map<String,MetricValue> |
total()
The total amount of cost or usage accrued during the time period.
|
copy
public DateInterval timePeriod()
The time period covered by a result.
public Map<String,MetricValue> total()
The total amount of cost or usage accrued during the time period.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Group> groups()
The groups that are included in this time period.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean estimated()
Whether or not this result is estimated.
public ResultByTime.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResultByTime.Builder,ResultByTime>
public static ResultByTime.Builder builder()
public static Class<? extends ResultByTime.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.