Struct aws_sdk_s3::model::get_object_attributes_parts::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for GetObjectAttributesParts
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more