public class FragmentSelector
extends java.lang.Object
implements java.io.Serializable
Describes the time stamp range and time stamp origin of a range of fragments.
Constructor and Description |
---|
FragmentSelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFragmentSelectorType()
The origin of the time stamps to use (Server or Producer).
|
TimestampRange |
getTimestampRange()
The range of time stamps to return.
|
int |
hashCode() |
void |
setFragmentSelectorType(FragmentSelectorType fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
|
void |
setFragmentSelectorType(java.lang.String fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
|
void |
setTimestampRange(TimestampRange timestampRange)
The range of time stamps to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FragmentSelector |
withFragmentSelectorType(FragmentSelectorType fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
|
FragmentSelector |
withFragmentSelectorType(java.lang.String fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
|
FragmentSelector |
withTimestampRange(TimestampRange timestampRange)
The range of time stamps to return.
|
public java.lang.String getFragmentSelectorType()
The origin of the time stamps to use (Server or Producer).
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
The origin of the time stamps to use (Server or Producer).
FragmentSelectorType
public void setFragmentSelectorType(java.lang.String fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType
- The origin of the time stamps to use (Server or Producer).
FragmentSelectorType
public FragmentSelector withFragmentSelectorType(java.lang.String fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType
- The origin of the time stamps to use (Server or Producer).
FragmentSelectorType
public void setFragmentSelectorType(FragmentSelectorType fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType
- The origin of the time stamps to use (Server or Producer).
FragmentSelectorType
public FragmentSelector withFragmentSelectorType(FragmentSelectorType fragmentSelectorType)
The origin of the time stamps to use (Server or Producer).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType
- The origin of the time stamps to use (Server or Producer).
FragmentSelectorType
public TimestampRange getTimestampRange()
The range of time stamps to return.
The range of time stamps to return.
public void setTimestampRange(TimestampRange timestampRange)
The range of time stamps to return.
timestampRange
- The range of time stamps to return.
public FragmentSelector withTimestampRange(TimestampRange timestampRange)
The range of time stamps to return.
Returns a reference to this object so that method calls can be chained together.
timestampRange
- The range of time stamps to return.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.