Struct aws_sdk_backup::operation::get_restore_job_metadata::builders::GetRestoreJobMetadataOutputBuilder
source · #[non_exhaustive]pub struct GetRestoreJobMetadataOutputBuilder { /* private fields */ }
Expand description
A builder for GetRestoreJobMetadataOutput
.
Implementations§
source§impl GetRestoreJobMetadataOutputBuilder
impl GetRestoreJobMetadataOutputBuilder
sourcepub fn restore_job_id(self, input: impl Into<String>) -> Self
pub fn restore_job_id(self, input: impl Into<String>) -> Self
This is a unique identifier of a restore job within Backup.
sourcepub fn set_restore_job_id(self, input: Option<String>) -> Self
pub fn set_restore_job_id(self, input: Option<String>) -> Self
This is a unique identifier of a restore job within Backup.
sourcepub fn get_restore_job_id(&self) -> &Option<String>
pub fn get_restore_job_id(&self) -> &Option<String>
This is a unique identifier of a restore job within Backup.
sourcepub fn metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to metadata
.
To override the contents of this collection use set_metadata
.
This contains the metadata of the specified backup job.
sourcepub fn set_metadata(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_metadata(self, input: Option<HashMap<String, String>>) -> Self
This contains the metadata of the specified backup job.
sourcepub fn get_metadata(&self) -> &Option<HashMap<String, String>>
pub fn get_metadata(&self) -> &Option<HashMap<String, String>>
This contains the metadata of the specified backup job.
sourcepub fn build(self) -> GetRestoreJobMetadataOutput
pub fn build(self) -> GetRestoreJobMetadataOutput
Consumes the builder and constructs a GetRestoreJobMetadataOutput
.
Trait Implementations§
source§impl Clone for GetRestoreJobMetadataOutputBuilder
impl Clone for GetRestoreJobMetadataOutputBuilder
source§fn clone(&self) -> GetRestoreJobMetadataOutputBuilder
fn clone(&self) -> GetRestoreJobMetadataOutputBuilder
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 GetRestoreJobMetadataOutputBuilder
impl Default for GetRestoreJobMetadataOutputBuilder
source§fn default() -> GetRestoreJobMetadataOutputBuilder
fn default() -> GetRestoreJobMetadataOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRestoreJobMetadataOutputBuilder
impl PartialEq for GetRestoreJobMetadataOutputBuilder
source§fn eq(&self, other: &GetRestoreJobMetadataOutputBuilder) -> bool
fn eq(&self, other: &GetRestoreJobMetadataOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRestoreJobMetadataOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetRestoreJobMetadataOutputBuilder
impl Send for GetRestoreJobMetadataOutputBuilder
impl Sync for GetRestoreJobMetadataOutputBuilder
impl Unpin for GetRestoreJobMetadataOutputBuilder
impl UnwindSafe for GetRestoreJobMetadataOutputBuilder
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.