@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyRange extends Object implements Serializable, Cloneable, StructuredPojo
Contains a key range. For export jobs, a S3Resource
object can have an optional KeyRange
value. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an
inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
Constructor and Description |
---|
KeyRange() |
Modifier and Type | Method and Description |
---|---|
KeyRange |
clone() |
boolean |
equals(Object obj) |
String |
getBeginMarker()
The key that starts an optional key range for an export job.
|
String |
getEndMarker()
The key that ends an optional key range for an export job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeginMarker(String beginMarker)
The key that starts an optional key range for an export job.
|
void |
setEndMarker(String endMarker)
The key that ends an optional key range for an export job.
|
String |
toString()
Returns a string representation of this object.
|
KeyRange |
withBeginMarker(String beginMarker)
The key that starts an optional key range for an export job.
|
KeyRange |
withEndMarker(String endMarker)
The key that ends an optional key range for an export job.
|
public void setBeginMarker(String beginMarker)
The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
beginMarker
- The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.public String getBeginMarker()
The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
public KeyRange withBeginMarker(String beginMarker)
The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
beginMarker
- The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.public void setEndMarker(String endMarker)
The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
endMarker
- The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.public String getEndMarker()
The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
public KeyRange withEndMarker(String endMarker)
The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
endMarker
- The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.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.