@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbsoluteTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A time range, set in seconds, between two points in the call.
Constructor and Description |
---|
AbsoluteTimeRange() |
Modifier and Type | Method and Description |
---|---|
AbsoluteTimeRange |
clone() |
boolean |
equals(Object obj) |
Long |
getEndTime()
A value that indicates the end of the time range in milliseconds.
|
Long |
getFirst()
A time range from the beginning of the call to the value that you've specified.
|
Long |
getLast()
A time range from the value that you've specified to the end of the call.
|
Long |
getStartTime()
A value that indicates the beginning of the time range in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Long endTime)
A value that indicates the end of the time range in milliseconds.
|
void |
setFirst(Long first)
A time range from the beginning of the call to the value that you've specified.
|
void |
setLast(Long last)
A time range from the value that you've specified to the end of the call.
|
void |
setStartTime(Long startTime)
A value that indicates the beginning of the time range in seconds.
|
String |
toString()
Returns a string representation of this object.
|
AbsoluteTimeRange |
withEndTime(Long endTime)
A value that indicates the end of the time range in milliseconds.
|
AbsoluteTimeRange |
withFirst(Long first)
A time range from the beginning of the call to the value that you've specified.
|
AbsoluteTimeRange |
withLast(Long last)
A time range from the value that you've specified to the end of the call.
|
AbsoluteTimeRange |
withStartTime(Long startTime)
A value that indicates the beginning of the time range in seconds.
|
public void setStartTime(Long startTime)
A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
startTime
- A value that indicates the beginning of the time range in seconds. To set absolute time range, you must
specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public Long getStartTime()
A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public AbsoluteTimeRange withStartTime(Long startTime)
A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
startTime
- A value that indicates the beginning of the time range in seconds. To set absolute time range, you must
specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public void setEndTime(Long endTime)
A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
endTime
- A value that indicates the end of the time range in milliseconds. To set absolute time range, you must
specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public Long getEndTime()
A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public AbsoluteTimeRange withEndTime(Long endTime)
A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
endTime
- A value that indicates the end of the time range in milliseconds. To set absolute time range, you must
specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public void setFirst(Long first)
A time range from the beginning of the call to the value that you've specified. For example, if you specify
100000
, the time range is set to the first 100,000 milliseconds of the call.
first
- A time range from the beginning of the call to the value that you've specified. For example, if you
specify 100000
, the time range is set to the first 100,000 milliseconds of the call.public Long getFirst()
A time range from the beginning of the call to the value that you've specified. For example, if you specify
100000
, the time range is set to the first 100,000 milliseconds of the call.
100000
, the time range is set to the first 100,000 milliseconds of the call.public AbsoluteTimeRange withFirst(Long first)
A time range from the beginning of the call to the value that you've specified. For example, if you specify
100000
, the time range is set to the first 100,000 milliseconds of the call.
first
- A time range from the beginning of the call to the value that you've specified. For example, if you
specify 100000
, the time range is set to the first 100,000 milliseconds of the call.public void setLast(Long last)
A time range from the value that you've specified to the end of the call. For example, if you specify
100000
, the time range is set to the last 100,000 milliseconds of the call.
last
- A time range from the value that you've specified to the end of the call. For example, if you specify
100000
, the time range is set to the last 100,000 milliseconds of the call.public Long getLast()
A time range from the value that you've specified to the end of the call. For example, if you specify
100000
, the time range is set to the last 100,000 milliseconds of the call.
100000
, the time range is set to the last 100,000 milliseconds of the call.public AbsoluteTimeRange withLast(Long last)
A time range from the value that you've specified to the end of the call. For example, if you specify
100000
, the time range is set to the last 100,000 milliseconds of the call.
last
- A time range from the value that you've specified to the end of the call. For example, if you specify
100000
, the time range is set to the last 100,000 milliseconds of the call.public String toString()
toString
in class Object
Object.toString()
public AbsoluteTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.