@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; useful for testing and debugging.
|
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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.