Class KeyRange
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.KeyRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyRange.Builder,KeyRange>
@Generated("software.amazon.awssdk:codegen") public final class KeyRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyRange.Builder,KeyRange>
Contains a key range. For export jobs, a
S3Resourceobject can have an optionalKeyRangevalue. The length of the range is defined at job creation, and has either an inclusiveBeginMarker, an inclusiveEndMarker, or both. Ranges are UTF-8 binary sorted.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKeyRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbeginMarker()The key that starts an optional key range for an export job.static KeyRange.Builderbuilder()StringendMarker()The key that ends an optional key range for an export job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends KeyRange.Builder>serializableBuilderClass()KeyRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
beginMarker
public final String beginMarker()
The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
- Returns:
- The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
-
endMarker
public final String endMarker()
The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
- Returns:
- The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
-
toBuilder
public KeyRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeyRange.Builder,KeyRange>
-
builder
public static KeyRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends KeyRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-