#[non_exhaustive]
pub struct PutObjectInputBuilder { /* private fields */ }
Expand description

A builder for PutObjectInput.

Implementations§

source§

impl PutObjectInputBuilder

source

pub fn backup_job_id(self, input: impl Into<String>) -> Self

Backup job Id for the in-progress backup. This field is required.

source

pub fn set_backup_job_id(self, input: Option<String>) -> Self

Backup job Id for the in-progress backup.

source

pub fn get_backup_job_id(&self) -> &Option<String>

Backup job Id for the in-progress backup.

source

pub fn object_name(self, input: impl Into<String>) -> Self

The name of the Object to be uploaded. This field is required.

source

pub fn set_object_name(self, input: Option<String>) -> Self

The name of the Object to be uploaded.

source

pub fn get_object_name(&self) -> &Option<String>

The name of the Object to be uploaded.

source

pub fn metadata_string(self, input: impl Into<String>) -> Self

Store user defined metadata like backup checksum, disk ids, restore metadata etc.

source

pub fn set_metadata_string(self, input: Option<String>) -> Self

Store user defined metadata like backup checksum, disk ids, restore metadata etc.

source

pub fn get_metadata_string(&self) -> &Option<String>

Store user defined metadata like backup checksum, disk ids, restore metadata etc.

source

pub fn inline_chunk(self, input: ByteStream) -> Self

Inline chunk data to be uploaded.

source

pub fn set_inline_chunk(self, input: Option<ByteStream>) -> Self

Inline chunk data to be uploaded.

source

pub fn get_inline_chunk(&self) -> &Option<ByteStream>

Inline chunk data to be uploaded.

source

pub fn inline_chunk_length(self, input: i64) -> Self

Length of the inline chunk data.

source

pub fn set_inline_chunk_length(self, input: Option<i64>) -> Self

Length of the inline chunk data.

source

pub fn get_inline_chunk_length(&self) -> &Option<i64>

Length of the inline chunk data.

source

pub fn inline_chunk_checksum(self, input: impl Into<String>) -> Self

Inline chunk checksum

source

pub fn set_inline_chunk_checksum(self, input: Option<String>) -> Self

Inline chunk checksum

source

pub fn get_inline_chunk_checksum(&self) -> &Option<String>

Inline chunk checksum

source

pub fn inline_chunk_checksum_algorithm(self, input: impl Into<String>) -> Self

Inline chunk checksum algorithm

source

pub fn set_inline_chunk_checksum_algorithm(self, input: Option<String>) -> Self

Inline chunk checksum algorithm

source

pub fn get_inline_chunk_checksum_algorithm(&self) -> &Option<String>

Inline chunk checksum algorithm

source

pub fn object_checksum(self, input: impl Into<String>) -> Self

object checksum

source

pub fn set_object_checksum(self, input: Option<String>) -> Self

object checksum

source

pub fn get_object_checksum(&self) -> &Option<String>

object checksum

source

pub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self

object checksum algorithm

source

pub fn set_object_checksum_algorithm( self, input: Option<SummaryChecksumAlgorithm> ) -> Self

object checksum algorithm

source

pub fn get_object_checksum_algorithm(&self) -> &Option<SummaryChecksumAlgorithm>

object checksum algorithm

source

pub fn throw_on_duplicate(self, input: bool) -> Self

Throw an exception if Object name is already exist.

source

pub fn set_throw_on_duplicate(self, input: Option<bool>) -> Self

Throw an exception if Object name is already exist.

source

pub fn get_throw_on_duplicate(&self) -> &Option<bool>

Throw an exception if Object name is already exist.

source

pub fn build(self) -> Result<PutObjectInput, BuildError>

Consumes the builder and constructs a PutObjectInput.

source§

impl PutObjectInputBuilder

source

pub async fn send_with( self, client: &Client ) -> Result<PutObjectOutput, SdkError<PutObjectError, HttpResponse>>

Sends a request with this input using the given client.

Trait Implementations§

source§

impl Debug for PutObjectInputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PutObjectInputBuilder

source§

fn default() -> PutObjectInputBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more