@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateInterval extends Object implements Serializable, Cloneable, StructuredPojo
The time period that you want the usage and costs for.
Constructor and Description |
---|
DateInterval() |
Modifier and Type | Method and Description |
---|---|
DateInterval |
clone() |
boolean |
equals(Object obj) |
String |
getEnd()
The end of the time period that you want the usage and costs for.
|
String |
getStart()
The beginning of the time period that you want the usage and costs for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnd(String end)
The end of the time period that you want the usage and costs for.
|
void |
setStart(String start)
The beginning of the time period that you want the usage and costs for.
|
String |
toString()
Returns a string representation of this object.
|
DateInterval |
withEnd(String end)
The end of the time period that you want the usage and costs for.
|
DateInterval |
withStart(String start)
The beginning of the time period that you want the usage and costs for.
|
public void setStart(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
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.
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
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.public String getStart()
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
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.
start
is 2017-01-01
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.public DateInterval withStart(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
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.
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
, AWS retrieves cost and usage data starting at
2017-01-01
up to the end date.public void setEnd(String end)
The end of the time period that you want the usage and costs for. The end date is exclusive. For example, if
end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up to, but not
including, 2017-05-01
.
end
- The end of the time period that you want the usage and costs for. The end date is exclusive. For example,
if end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up
to, but not including, 2017-05-01
.public String getEnd()
The end of the time period that you want the usage and costs for. The end date is exclusive. For example, if
end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up to, but not
including, 2017-05-01
.
end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up
to, but not including, 2017-05-01
.public DateInterval withEnd(String end)
The end of the time period that you want the usage and costs for. The end date is exclusive. For example, if
end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up to, but not
including, 2017-05-01
.
end
- The end of the time period that you want the usage and costs for. The end date is exclusive. For example,
if end
is 2017-05-01
, AWS retrieves cost and usage data from the start date up
to, but not including, 2017-05-01
.public String toString()
toString
in class Object
Object.toString()
public DateInterval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.