@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelativeTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
Constructor and Description |
---|
RelativeTimeRange() |
Modifier and Type | Method and Description |
---|---|
RelativeTimeRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndPercentage()
A value that indicates the percentage of the end of the time range.
|
Integer |
getFirst()
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
|
Integer |
getLast()
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call.
|
Integer |
getStartPercentage()
A value that indicates the percentage of the beginning of the time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndPercentage(Integer endPercentage)
A value that indicates the percentage of the end of the time range.
|
void |
setFirst(Integer first)
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
|
void |
setLast(Integer last)
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call.
|
void |
setStartPercentage(Integer startPercentage)
A value that indicates the percentage of the beginning of the time range.
|
String |
toString()
Returns a string representation of this object.
|
RelativeTimeRange |
withEndPercentage(Integer endPercentage)
A value that indicates the percentage of the end of the time range.
|
RelativeTimeRange |
withFirst(Integer first)
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
|
RelativeTimeRange |
withLast(Integer last)
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call.
|
RelativeTimeRange |
withStartPercentage(Integer startPercentage)
A value that indicates the percentage of the beginning of the time range.
|
public void setStartPercentage(Integer startPercentage)
A value that indicates the percentage of the beginning of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
startPercentage
- A value that indicates the percentage of the beginning of the time range. To set a relative time range,
you must specify a start percentage and an end percentage. For example, if you specify the following
values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public Integer getStartPercentage()
A value that indicates the percentage of the beginning of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public RelativeTimeRange withStartPercentage(Integer startPercentage)
A value that indicates the percentage of the beginning of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
startPercentage
- A value that indicates the percentage of the beginning of the time range. To set a relative time range,
you must specify a start percentage and an end percentage. For example, if you specify the following
values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public void setEndPercentage(Integer endPercentage)
A value that indicates the percentage of the end of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
endPercentage
- A value that indicates the percentage of the end of the time range. To set a relative time range, you must
specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public Integer getEndPercentage()
A value that indicates the percentage of the end of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public RelativeTimeRange withEndPercentage(Integer endPercentage)
A value that indicates the percentage of the end of the time range. To set a relative time range, you must specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
endPercentage
- A value that indicates the percentage of the end of the time range. To set a relative time range, you must
specify a start percentage and an end percentage. For example, if you specify the following values:
StartPercentage - 10
EndPercentage - 50
This looks at the time range starting from 10% of the way into the call to 50% of the way through the call. For a call that lasts 100,000 milliseconds, this example range would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.
public void setFirst(Integer first)
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
For example, if you specify 120000
, the time range is set for the first 120,000 milliseconds of the
call.
first
- A range that takes the portion of the call up to the time in milliseconds set by the value that you've
specified. For example, if you specify 120000
, the time range is set for the first 120,000
milliseconds of the call.public Integer getFirst()
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
For example, if you specify 120000
, the time range is set for the first 120,000 milliseconds of the
call.
120000
, the time range is set for the first 120,000
milliseconds of the call.public RelativeTimeRange withFirst(Integer first)
A range that takes the portion of the call up to the time in milliseconds set by the value that you've specified.
For example, if you specify 120000
, the time range is set for the first 120,000 milliseconds of the
call.
first
- A range that takes the portion of the call up to the time in milliseconds set by the value that you've
specified. For example, if you specify 120000
, the time range is set for the first 120,000
milliseconds of the call.public void setLast(Integer last)
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call. For example, if you specify 120000
, the time range is set for the last
120,000 milliseconds of the call.
last
- A range that takes the portion of the call from the time in milliseconds set by the value that you've
specified to the end of the call. For example, if you specify 120000
, the time range is set
for the last 120,000 milliseconds of the call.public Integer getLast()
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call. For example, if you specify 120000
, the time range is set for the last
120,000 milliseconds of the call.
120000
, the time range is set
for the last 120,000 milliseconds of the call.public RelativeTimeRange withLast(Integer last)
A range that takes the portion of the call from the time in milliseconds set by the value that you've specified
to the end of the call. For example, if you specify 120000
, the time range is set for the last
120,000 milliseconds of the call.
last
- A range that takes the portion of the call from the time in milliseconds set by the value that you've
specified to the end of the call. For example, if you specify 120000
, the time range is set
for the last 120,000 milliseconds of the call.public String toString()
toString
in class Object
Object.toString()
public RelativeTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.