@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) |
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; useful for testing and debugging.
|
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
, then the cost and usage data is retrieved 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
, then the cost and usage data is retrieved
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
, 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 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
, then the cost and usage data is retrieved 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
, then the cost and usage data is retrieved
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 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
- 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
.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 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 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 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
- 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
.public String toString()
toString
in class Object
Object.toString()
public DateInterval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.