Struct aws_sdk_snowball::operation::get_job_unlock_code::builders::GetJobUnlockCodeInputBuilder
source · #[non_exhaustive]pub struct GetJobUnlockCodeInputBuilder { /* private fields */ }
Expand description
A builder for GetJobUnlockCodeInput
.
Implementations§
source§impl GetJobUnlockCodeInputBuilder
impl GetJobUnlockCodeInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID for the job that you want to get the UnlockCode
value for, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID for the job that you want to get the UnlockCode
value for, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID for the job that you want to get the UnlockCode
value for, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn build(self) -> Result<GetJobUnlockCodeInput, BuildError>
pub fn build(self) -> Result<GetJobUnlockCodeInput, BuildError>
Consumes the builder and constructs a GetJobUnlockCodeInput
.
source§impl GetJobUnlockCodeInputBuilder
impl GetJobUnlockCodeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetJobUnlockCodeOutput, SdkError<GetJobUnlockCodeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetJobUnlockCodeOutput, SdkError<GetJobUnlockCodeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetJobUnlockCodeInputBuilder
impl Clone for GetJobUnlockCodeInputBuilder
source§fn clone(&self) -> GetJobUnlockCodeInputBuilder
fn clone(&self) -> GetJobUnlockCodeInputBuilder
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 Debug for GetJobUnlockCodeInputBuilder
impl Debug for GetJobUnlockCodeInputBuilder
source§impl Default for GetJobUnlockCodeInputBuilder
impl Default for GetJobUnlockCodeInputBuilder
source§fn default() -> GetJobUnlockCodeInputBuilder
fn default() -> GetJobUnlockCodeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetJobUnlockCodeInputBuilder
impl PartialEq for GetJobUnlockCodeInputBuilder
source§fn eq(&self, other: &GetJobUnlockCodeInputBuilder) -> bool
fn eq(&self, other: &GetJobUnlockCodeInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetJobUnlockCodeInputBuilder
Auto Trait Implementations§
impl Freeze for GetJobUnlockCodeInputBuilder
impl RefUnwindSafe for GetJobUnlockCodeInputBuilder
impl Send for GetJobUnlockCodeInputBuilder
impl Sync for GetJobUnlockCodeInputBuilder
impl Unpin for GetJobUnlockCodeInputBuilder
impl UnwindSafe for GetJobUnlockCodeInputBuilder
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.