@Generated(value="software.amazon.awssdk:codegen") public final class DateInterval extends Object implements StructuredPojo, ToCopyableBuilder<DateInterval.Builder,DateInterval>
The time period that you want the usage and costs for.
Modifier and Type | Class and Description |
---|---|
static interface |
DateInterval.Builder |
Modifier and Type | Method and Description |
---|---|
static DateInterval.Builder |
builder() |
String |
end()
The end of the time period that you want the usage and costs for.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends DateInterval.Builder> |
serializableBuilderClass() |
String |
start()
The beginning of the time period that you want the usage and costs for.
|
DateInterval.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String start()
The beginning of the time period that you want the usage and costs for. The start date is inclusive. For example,
if start
is 2017-01-01
, then the cost and usage data is retrieved starting at
2017-01-01
up to the end date.
start
is 2017-01-01
, then the cost and usage data is retrieved
starting at 2017-01-01
up to the end date.public String end()
The end of the time period that you want the usage and costs for. The end date is exclusive. For example, if the
end
is 2017-05-01
, then the cost and usage data is retrieved from the start date but
not including 2017-05-01
.
end
is 2017-05-01
, then the cost and usage data is retrieved from the
start date but not including 2017-05-01
.public DateInterval.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DateInterval.Builder,DateInterval>
public static DateInterval.Builder builder()
public static Class<? extends DateInterval.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.