#[non_exhaustive]pub struct GetLayerVersionInputBuilder { /* private fields */ }
Expand description
A builder for GetLayerVersionInput
.
Implementations§
source§impl GetLayerVersionInputBuilder
impl GetLayerVersionInputBuilder
sourcepub fn layer_name(self, input: impl Into<String>) -> Self
pub fn layer_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the layer.
This field is required.sourcepub fn set_layer_name(self, input: Option<String>) -> Self
pub fn set_layer_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the layer.
sourcepub fn get_layer_name(&self) -> &Option<String>
pub fn get_layer_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the layer.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
The version number.
This field is required.sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
The version number.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
The version number.
sourcepub fn build(self) -> Result<GetLayerVersionInput, BuildError>
pub fn build(self) -> Result<GetLayerVersionInput, BuildError>
Consumes the builder and constructs a GetLayerVersionInput
.
source§impl GetLayerVersionInputBuilder
impl GetLayerVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetLayerVersionOutput, SdkError<GetLayerVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetLayerVersionOutput, SdkError<GetLayerVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetLayerVersionInputBuilder
impl Clone for GetLayerVersionInputBuilder
source§fn clone(&self) -> GetLayerVersionInputBuilder
fn clone(&self) -> GetLayerVersionInputBuilder
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 GetLayerVersionInputBuilder
impl Debug for GetLayerVersionInputBuilder
source§impl Default for GetLayerVersionInputBuilder
impl Default for GetLayerVersionInputBuilder
source§fn default() -> GetLayerVersionInputBuilder
fn default() -> GetLayerVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetLayerVersionInputBuilder
impl PartialEq for GetLayerVersionInputBuilder
source§fn eq(&self, other: &GetLayerVersionInputBuilder) -> bool
fn eq(&self, other: &GetLayerVersionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLayerVersionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetLayerVersionInputBuilder
impl Send for GetLayerVersionInputBuilder
impl Sync for GetLayerVersionInputBuilder
impl Unpin for GetLayerVersionInputBuilder
impl UnwindSafe for GetLayerVersionInputBuilder
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.