Struct aws_sdk_s3::types::builders::GetObjectAttributesPartsBuilder
source · #[non_exhaustive]pub struct GetObjectAttributesPartsBuilder { /* private fields */ }
Expand description
A builder for GetObjectAttributesParts
.
Implementations§
source§impl GetObjectAttributesPartsBuilder
impl GetObjectAttributesPartsBuilder
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 get_total_parts_count(&self) -> &Option<i32>
pub fn get_total_parts_count(&self) -> &Option<i32>
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 get_part_number_marker(&self) -> &Option<String>
pub fn get_part_number_marker(&self) -> &Option<String>
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 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.
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 get_max_parts(&self) -> &Option<i32>
pub fn get_max_parts(&self) -> &Option<i32>
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 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.
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.
-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
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.
-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
sourcepub fn get_parts(&self) -> &Option<Vec<ObjectPart>>
pub fn get_parts(&self) -> &Option<Vec<ObjectPart>>
A container for elements related to a particular part. A response can contain zero or more Parts
elements.
-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
sourcepub fn build(self) -> GetObjectAttributesParts
pub fn build(self) -> GetObjectAttributesParts
Consumes the builder and constructs a GetObjectAttributesParts
.
Trait Implementations§
source§impl Clone for GetObjectAttributesPartsBuilder
impl Clone for GetObjectAttributesPartsBuilder
source§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 moresource§impl Default for GetObjectAttributesPartsBuilder
impl Default for GetObjectAttributesPartsBuilder
source§fn default() -> GetObjectAttributesPartsBuilder
fn default() -> GetObjectAttributesPartsBuilder
source§impl PartialEq for GetObjectAttributesPartsBuilder
impl PartialEq for GetObjectAttributesPartsBuilder
source§fn eq(&self, other: &GetObjectAttributesPartsBuilder) -> bool
fn eq(&self, other: &GetObjectAttributesPartsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetObjectAttributesPartsBuilder
Auto Trait Implementations§
impl Freeze for GetObjectAttributesPartsBuilder
impl RefUnwindSafe for GetObjectAttributesPartsBuilder
impl Send for GetObjectAttributesPartsBuilder
impl Sync for GetObjectAttributesPartsBuilder
impl Unpin for GetObjectAttributesPartsBuilder
impl UnwindSafe for GetObjectAttributesPartsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)