Struct aws_sdk_s3::model::scan_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ScanRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start(self, input: i64) -> Self
pub fn start(self, input: i64) -> Self
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,
means scan from byte 50 until the end of the file.
sourcepub fn set_start(self, input: Option<i64>) -> Self
pub fn set_start(self, input: Option<i64>) -> Self
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,
means scan from byte 50 until the end of the file.
sourcepub fn end(self, input: i64) -> Self
pub fn end(self, input: i64) -> Self
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,
means scan the last 50 bytes.
sourcepub fn set_end(self, input: Option<i64>) -> Self
pub fn set_end(self, input: Option<i64>) -> Self
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,
means scan the last 50 bytes.