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