Struct aws_sdk_ecrpublic::operation::initiate_layer_upload::builders::InitiateLayerUploadOutputBuilder
source · #[non_exhaustive]pub struct InitiateLayerUploadOutputBuilder { /* private fields */ }Expand description
A builder for InitiateLayerUploadOutput.
Implementations§
source§impl InitiateLayerUploadOutputBuilder
impl InitiateLayerUploadOutputBuilder
sourcepub fn upload_id(self, input: impl Into<String>) -> Self
pub fn upload_id(self, input: impl Into<String>) -> Self
The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
sourcepub fn set_upload_id(self, input: Option<String>) -> Self
pub fn set_upload_id(self, input: Option<String>) -> Self
The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
sourcepub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
sourcepub fn part_size(self, input: i64) -> Self
pub fn part_size(self, input: i64) -> Self
The size, in bytes, that Amazon ECR expects future layer part uploads to be.
sourcepub fn set_part_size(self, input: Option<i64>) -> Self
pub fn set_part_size(self, input: Option<i64>) -> Self
The size, in bytes, that Amazon ECR expects future layer part uploads to be.
sourcepub fn get_part_size(&self) -> &Option<i64>
pub fn get_part_size(&self) -> &Option<i64>
The size, in bytes, that Amazon ECR expects future layer part uploads to be.
sourcepub fn build(self) -> InitiateLayerUploadOutput
pub fn build(self) -> InitiateLayerUploadOutput
Consumes the builder and constructs a InitiateLayerUploadOutput.
Trait Implementations§
source§impl Clone for InitiateLayerUploadOutputBuilder
impl Clone for InitiateLayerUploadOutputBuilder
source§fn clone(&self) -> InitiateLayerUploadOutputBuilder
fn clone(&self) -> InitiateLayerUploadOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for InitiateLayerUploadOutputBuilder
impl Default for InitiateLayerUploadOutputBuilder
source§fn default() -> InitiateLayerUploadOutputBuilder
fn default() -> InitiateLayerUploadOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InitiateLayerUploadOutputBuilder
impl PartialEq for InitiateLayerUploadOutputBuilder
source§fn eq(&self, other: &InitiateLayerUploadOutputBuilder) -> bool
fn eq(&self, other: &InitiateLayerUploadOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InitiateLayerUploadOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InitiateLayerUploadOutputBuilder
impl Send for InitiateLayerUploadOutputBuilder
impl Sync for InitiateLayerUploadOutputBuilder
impl Unpin for InitiateLayerUploadOutputBuilder
impl UnwindSafe for InitiateLayerUploadOutputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.