Struct aws_sdk_backupstorage::operation::notify_object_complete::builders::NotifyObjectCompleteInputBuilder
source · #[non_exhaustive]pub struct NotifyObjectCompleteInputBuilder { /* private fields */ }
Expand description
A builder for NotifyObjectCompleteInput
.
Implementations§
source§impl NotifyObjectCompleteInputBuilder
impl NotifyObjectCompleteInputBuilder
sourcepub fn backup_job_id(self, input: impl Into<String>) -> Self
pub fn backup_job_id(self, input: impl Into<String>) -> Self
Backup job Id for the in-progress backup This field is required.
sourcepub fn set_backup_job_id(self, input: Option<String>) -> Self
pub fn set_backup_job_id(self, input: Option<String>) -> Self
Backup job Id for the in-progress backup
sourcepub fn get_backup_job_id(&self) -> &Option<String>
pub fn get_backup_job_id(&self) -> &Option<String>
Backup job Id for the in-progress backup
sourcepub fn upload_id(self, input: impl Into<String>) -> Self
pub fn upload_id(self, input: impl Into<String>) -> Self
Upload Id for the in-progress upload This field is required.
sourcepub fn set_upload_id(self, input: Option<String>) -> Self
pub fn set_upload_id(self, input: Option<String>) -> Self
Upload Id for the in-progress upload
sourcepub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
Upload Id for the in-progress upload
sourcepub fn object_checksum(self, input: impl Into<String>) -> Self
pub fn object_checksum(self, input: impl Into<String>) -> Self
Object checksum This field is required.
sourcepub fn set_object_checksum(self, input: Option<String>) -> Self
pub fn set_object_checksum(self, input: Option<String>) -> Self
Object checksum
sourcepub fn get_object_checksum(&self) -> &Option<String>
pub fn get_object_checksum(&self) -> &Option<String>
Object checksum
sourcepub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
pub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
Checksum algorithm This field is required.
sourcepub fn set_object_checksum_algorithm(
self,
input: Option<SummaryChecksumAlgorithm>
) -> Self
pub fn set_object_checksum_algorithm( self, input: Option<SummaryChecksumAlgorithm> ) -> Self
Checksum algorithm
sourcepub fn get_object_checksum_algorithm(&self) -> &Option<SummaryChecksumAlgorithm>
pub fn get_object_checksum_algorithm(&self) -> &Option<SummaryChecksumAlgorithm>
Checksum algorithm
sourcepub fn metadata_string(self, input: impl Into<String>) -> Self
pub fn metadata_string(self, input: impl Into<String>) -> Self
Optional metadata associated with an Object. Maximum string length is 256 bytes.
sourcepub fn set_metadata_string(self, input: Option<String>) -> Self
pub fn set_metadata_string(self, input: Option<String>) -> Self
Optional metadata associated with an Object. Maximum string length is 256 bytes.
sourcepub fn get_metadata_string(&self) -> &Option<String>
pub fn get_metadata_string(&self) -> &Option<String>
Optional metadata associated with an Object. Maximum string length is 256 bytes.
sourcepub fn metadata_blob(self, input: ByteStream) -> Self
pub fn metadata_blob(self, input: ByteStream) -> Self
Optional metadata associated with an Object. Maximum length is 4MB.
sourcepub fn set_metadata_blob(self, input: Option<ByteStream>) -> Self
pub fn set_metadata_blob(self, input: Option<ByteStream>) -> Self
Optional metadata associated with an Object. Maximum length is 4MB.
sourcepub fn get_metadata_blob(&self) -> &Option<ByteStream>
pub fn get_metadata_blob(&self) -> &Option<ByteStream>
Optional metadata associated with an Object. Maximum length is 4MB.
sourcepub fn metadata_blob_length(self, input: i64) -> Self
pub fn metadata_blob_length(self, input: i64) -> Self
The size of MetadataBlob.
sourcepub fn set_metadata_blob_length(self, input: Option<i64>) -> Self
pub fn set_metadata_blob_length(self, input: Option<i64>) -> Self
The size of MetadataBlob.
sourcepub fn get_metadata_blob_length(&self) -> &Option<i64>
pub fn get_metadata_blob_length(&self) -> &Option<i64>
The size of MetadataBlob.
sourcepub fn metadata_blob_checksum(self, input: impl Into<String>) -> Self
pub fn metadata_blob_checksum(self, input: impl Into<String>) -> Self
Checksum of MetadataBlob.
sourcepub fn set_metadata_blob_checksum(self, input: Option<String>) -> Self
pub fn set_metadata_blob_checksum(self, input: Option<String>) -> Self
Checksum of MetadataBlob.
sourcepub fn get_metadata_blob_checksum(&self) -> &Option<String>
pub fn get_metadata_blob_checksum(&self) -> &Option<String>
Checksum of MetadataBlob.
sourcepub fn metadata_blob_checksum_algorithm(
self,
input: DataChecksumAlgorithm
) -> Self
pub fn metadata_blob_checksum_algorithm( self, input: DataChecksumAlgorithm ) -> Self
Checksum algorithm.
sourcepub fn set_metadata_blob_checksum_algorithm(
self,
input: Option<DataChecksumAlgorithm>
) -> Self
pub fn set_metadata_blob_checksum_algorithm( self, input: Option<DataChecksumAlgorithm> ) -> Self
Checksum algorithm.
sourcepub fn get_metadata_blob_checksum_algorithm(
&self
) -> &Option<DataChecksumAlgorithm>
pub fn get_metadata_blob_checksum_algorithm( &self ) -> &Option<DataChecksumAlgorithm>
Checksum algorithm.
sourcepub fn build(self) -> Result<NotifyObjectCompleteInput, BuildError>
pub fn build(self) -> Result<NotifyObjectCompleteInput, BuildError>
Consumes the builder and constructs a NotifyObjectCompleteInput
.
source§impl NotifyObjectCompleteInputBuilder
impl NotifyObjectCompleteInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<NotifyObjectCompleteOutput, SdkError<NotifyObjectCompleteError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<NotifyObjectCompleteOutput, SdkError<NotifyObjectCompleteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Default for NotifyObjectCompleteInputBuilder
impl Default for NotifyObjectCompleteInputBuilder
source§fn default() -> NotifyObjectCompleteInputBuilder
fn default() -> NotifyObjectCompleteInputBuilder
Auto Trait Implementations§
impl !Freeze for NotifyObjectCompleteInputBuilder
impl !RefUnwindSafe for NotifyObjectCompleteInputBuilder
impl Send for NotifyObjectCompleteInputBuilder
impl Sync for NotifyObjectCompleteInputBuilder
impl Unpin for NotifyObjectCompleteInputBuilder
impl !UnwindSafe for NotifyObjectCompleteInputBuilder
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> 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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more