Class UploadRange
java.lang.Object
software.amazon.awssdk.services.support.model.UploadRange
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UploadRange.Builder,UploadRange>
@Generated("software.amazon.awssdk:codegen")
public final class UploadRange
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<UploadRange.Builder,UploadRange>
The range of part indexes for which to return presigned upload URLs from GetAttachmentUploadLinks.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UploadRange.Builderbuilder()final IntegerendIndex()The ending part index of the range, exclusive.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends UploadRange.Builder> final IntegerThe starting part index of the range, inclusive.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
startIndex
The starting part index of the range, inclusive. Part indexes start at 1.
- Returns:
- The starting part index of the range, inclusive. Part indexes start at 1.
-
endIndex
The ending part index of the range, exclusive. The range is half-open:
startIndexis inclusive andendIndexis exclusive. For example, a range withstartIndexof 1 andendIndexof 4 requests URLs for parts 1, 2, and 3. The range size (endIndex-startIndex) must not exceed 10. If you omitendIndex, the service defaults tostartIndex+ 10, capped by the total number of parts.- Returns:
- The ending part index of the range, exclusive. The range is half-open:
startIndexis inclusive andendIndexis exclusive. For example, a range withstartIndexof 1 andendIndexof 4 requests URLs for parts 1, 2, and 3. The range size (endIndex-startIndex) must not exceed 10. If you omitendIndex, the service defaults tostartIndex+ 10, capped by the total number of parts.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UploadRange.Builder,UploadRange> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-