Struct aws_sdk_s3::model::get_object_attributes_parts::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetObjectAttributesParts
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn total_parts_count(self, input: i32) -> Self
pub fn total_parts_count(self, input: i32) -> Self
The total number of parts.
sourcepub fn set_total_parts_count(self, input: Option<i32>) -> Self
pub fn set_total_parts_count(self, input: Option<i32>) -> Self
The total number of parts.
sourcepub fn part_number_marker(self, input: impl Into<String>) -> Self
pub fn part_number_marker(self, input: impl Into<String>) -> Self
The marker for the current part.
sourcepub fn set_part_number_marker(self, input: Option<String>) -> Self
pub fn set_part_number_marker(self, input: Option<String>) -> Self
The marker for the current part.
sourcepub fn next_part_number_marker(self, input: impl Into<String>) -> Self
pub fn next_part_number_marker(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_next_part_number_marker(self, input: Option<String>) -> Self
pub fn set_next_part_number_marker(self, input: Option<String>) -> Self
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.
sourcepub fn max_parts(self, input: i32) -> Self
pub fn max_parts(self, input: i32) -> Self
The maximum number of parts allowed in the response.
sourcepub fn set_max_parts(self, input: Option<i32>) -> Self
pub fn set_max_parts(self, input: Option<i32>) -> Self
The maximum number of parts allowed in the response.
sourcepub fn is_truncated(self, input: bool) -> Self
pub fn is_truncated(self, input: bool) -> Self
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.
sourcepub fn set_is_truncated(self, input: Option<bool>) -> Self
pub fn set_is_truncated(self, input: Option<bool>) -> Self
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.
sourcepub fn parts(self, input: ObjectPart) -> Self
pub fn parts(self, input: ObjectPart) -> Self
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.
sourcepub fn set_parts(self, input: Option<Vec<ObjectPart>>) -> Self
pub fn set_parts(self, input: Option<Vec<ObjectPart>>) -> Self
A container for elements related to a particular part. A response can contain zero or more Parts
elements.
sourcepub fn build(self) -> GetObjectAttributesParts
pub fn build(self) -> GetObjectAttributesParts
Consumes the builder and constructs a GetObjectAttributesParts
.