@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostEstimationTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
The time range of a cost estimation.
Constructor and Description |
---|
CostEstimationTimeRange() |
Modifier and Type | Method and Description |
---|---|
CostEstimationTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the cost estimation.
|
Date |
getStartTime()
The start time of the cost estimation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end time of the cost estimation.
|
void |
setStartTime(Date startTime)
The start time of the cost estimation.
|
String |
toString()
Returns a string representation of this object.
|
CostEstimationTimeRange |
withEndTime(Date endTime)
The end time of the cost estimation.
|
CostEstimationTimeRange |
withStartTime(Date startTime)
The start time of the cost estimation.
|
public void setStartTime(Date startTime)
The start time of the cost estimation.
startTime
- The start time of the cost estimation.public Date getStartTime()
The start time of the cost estimation.
public CostEstimationTimeRange withStartTime(Date startTime)
The start time of the cost estimation.
startTime
- The start time of the cost estimation.public void setEndTime(Date endTime)
The end time of the cost estimation.
endTime
- The end time of the cost estimation.public Date getEndTime()
The end time of the cost estimation.
public CostEstimationTimeRange withEndTime(Date endTime)
The end time of the cost estimation.
endTime
- The end time of the cost estimation.public String toString()
toString
in class Object
Object.toString()
public CostEstimationTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.