@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines the time range that you want to retrieve results from.
Constructor and Description |
---|
TimeRange() |
Modifier and Type | Method and Description |
---|---|
TimeRange |
clone() |
boolean |
equals(Object obj) |
Long |
getAfter()
The beginning of the time range to retrieve performance events from.
|
Long |
getBefore()
The end of the time range to retrieve performance events from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAfter(Long after)
The beginning of the time range to retrieve performance events from.
|
void |
setBefore(Long before)
The end of the time range to retrieve performance events from.
|
String |
toString()
Returns a string representation of this object.
|
TimeRange |
withAfter(Long after)
The beginning of the time range to retrieve performance events from.
|
TimeRange |
withBefore(Long before)
The end of the time range to retrieve performance events from.
|
public void setAfter(Long after)
The beginning of the time range to retrieve performance events from.
after
- The beginning of the time range to retrieve performance events from.public Long getAfter()
The beginning of the time range to retrieve performance events from.
public TimeRange withAfter(Long after)
The beginning of the time range to retrieve performance events from.
after
- The beginning of the time range to retrieve performance events from.public void setBefore(Long before)
The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.
before
- The end of the time range to retrieve performance events from. If you omit this, the time range extends to
the time that this operation is performed.public Long getBefore()
The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.
public TimeRange withBefore(Long before)
The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.
before
- The end of the time range to retrieve performance events from. If you omit this, the time range extends to
the time that this operation is performed.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.