Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::GetObjectAttributesPartsBuilder
pub struct GetObjectAttributesPartsBuilder { /* private fields */ }
Expand description
A builder for GetObjectAttributesParts
.
Implementations§
§impl GetObjectAttributesPartsBuilder
impl GetObjectAttributesPartsBuilder
pub fn total_parts_count(self, input: i32) -> GetObjectAttributesPartsBuilder
pub fn total_parts_count(self, input: i32) -> GetObjectAttributesPartsBuilder
The total number of parts.
pub fn set_total_parts_count(
self,
input: Option<i32>
) -> GetObjectAttributesPartsBuilder
pub fn set_total_parts_count( self, input: Option<i32> ) -> GetObjectAttributesPartsBuilder
The total number of parts.
pub fn get_total_parts_count(&self) -> &Option<i32>
pub fn get_total_parts_count(&self) -> &Option<i32>
The total number of parts.
pub fn part_number_marker(
self,
input: impl Into<String>
) -> GetObjectAttributesPartsBuilder
pub fn part_number_marker( self, input: impl Into<String> ) -> GetObjectAttributesPartsBuilder
The marker for the current part.
pub fn set_part_number_marker(
self,
input: Option<String>
) -> GetObjectAttributesPartsBuilder
pub fn set_part_number_marker( self, input: Option<String> ) -> GetObjectAttributesPartsBuilder
The marker for the current part.
pub fn get_part_number_marker(&self) -> &Option<String>
pub fn get_part_number_marker(&self) -> &Option<String>
The marker for the current part.
pub fn next_part_number_marker(
self,
input: impl Into<String>
) -> GetObjectAttributesPartsBuilder
pub fn next_part_number_marker( self, input: impl Into<String> ) -> GetObjectAttributesPartsBuilder
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the PartNumberMarker
request parameter in a subsequent request.
pub fn set_next_part_number_marker(
self,
input: Option<String>
) -> GetObjectAttributesPartsBuilder
pub fn set_next_part_number_marker( self, input: Option<String> ) -> GetObjectAttributesPartsBuilder
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the PartNumberMarker
request parameter in a subsequent request.
pub fn get_next_part_number_marker(&self) -> &Option<String>
pub fn get_next_part_number_marker(&self) -> &Option<String>
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the PartNumberMarker
request parameter in a subsequent request.
pub fn max_parts(self, input: i32) -> GetObjectAttributesPartsBuilder
pub fn max_parts(self, input: i32) -> GetObjectAttributesPartsBuilder
The maximum number of parts allowed in the response.
pub fn set_max_parts(
self,
input: Option<i32>
) -> GetObjectAttributesPartsBuilder
pub fn set_max_parts( self, input: Option<i32> ) -> GetObjectAttributesPartsBuilder
The maximum number of parts allowed in the response.
pub fn get_max_parts(&self) -> &Option<i32>
pub fn get_max_parts(&self) -> &Option<i32>
The maximum number of parts allowed in the response.
pub fn is_truncated(self, input: bool) -> GetObjectAttributesPartsBuilder
pub fn is_truncated(self, input: bool) -> GetObjectAttributesPartsBuilder
Indicates whether the returned list of parts is truncated. A value of true
indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts
element.
pub fn set_is_truncated(
self,
input: Option<bool>
) -> GetObjectAttributesPartsBuilder
pub fn set_is_truncated( self, input: Option<bool> ) -> GetObjectAttributesPartsBuilder
Indicates whether the returned list of parts is truncated. A value of true
indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts
element.
pub fn get_is_truncated(&self) -> &Option<bool>
pub fn get_is_truncated(&self) -> &Option<bool>
Indicates whether the returned list of parts is truncated. A value of true
indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts
element.
pub fn parts(self, input: ObjectPart) -> GetObjectAttributesPartsBuilder
pub fn parts(self, input: ObjectPart) -> GetObjectAttributesPartsBuilder
Appends an item to parts
.
To override the contents of this collection use set_parts
.
A container for elements related to a particular part. A response can contain zero or more Parts
elements.
pub fn set_parts(
self,
input: Option<Vec<ObjectPart, Global>>
) -> GetObjectAttributesPartsBuilder
pub fn set_parts( self, input: Option<Vec<ObjectPart, Global>> ) -> GetObjectAttributesPartsBuilder
A container for elements related to a particular part. A response can contain zero or more Parts
elements.
pub fn get_parts(&self) -> &Option<Vec<ObjectPart, Global>>
pub fn get_parts(&self) -> &Option<Vec<ObjectPart, Global>>
A container for elements related to a particular part. A response can contain zero or more Parts
elements.
pub fn build(self) -> GetObjectAttributesParts
pub fn build(self) -> GetObjectAttributesParts
Consumes the builder and constructs a GetObjectAttributesParts
.
Trait Implementations§
§impl Clone for GetObjectAttributesPartsBuilder
impl Clone for GetObjectAttributesPartsBuilder
§fn clone(&self) -> GetObjectAttributesPartsBuilder
fn clone(&self) -> GetObjectAttributesPartsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GetObjectAttributesPartsBuilder
impl Debug for GetObjectAttributesPartsBuilder
§impl Default for GetObjectAttributesPartsBuilder
impl Default for GetObjectAttributesPartsBuilder
§fn default() -> GetObjectAttributesPartsBuilder
fn default() -> GetObjectAttributesPartsBuilder
§impl PartialEq<GetObjectAttributesPartsBuilder> for GetObjectAttributesPartsBuilder
impl PartialEq<GetObjectAttributesPartsBuilder> for GetObjectAttributesPartsBuilder
§fn eq(&self, other: &GetObjectAttributesPartsBuilder) -> bool
fn eq(&self, other: &GetObjectAttributesPartsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.