Interface ScanRange.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScanRange.Builder,
,ScanRange> SdkBuilder<ScanRange.Builder,
,ScanRange> SdkPojo
- Enclosing class:
ScanRange
@Mutable
@NotThreadSafe
public static interface ScanRange.Builder
extends SdkPojo, CopyableBuilder<ScanRange.Builder,ScanRange>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the end of the byte range.Specifies the start of the byte range.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
start
Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. If only
start
is supplied, it means scan from that point to the end of the file. For example,<scanrange><start>50</start></scanrange>
means scan from byte 50 until the end of the file.- Parameters:
start
- Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. If onlystart
is supplied, it means scan from that point to the end of the file. For example,<scanrange><start>50</start></scanrange>
means scan from byte 50 until the end of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
Specifies the end of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is one less than the size of the object being queried. If only the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example,
<scanrange><end>50</end></scanrange>
means scan the last 50 bytes.- Parameters:
end
- Specifies the end of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is one less than the size of the object being queried. If only the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example,<scanrange><end>50</end></scanrange>
means scan the last 50 bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-