Struct aws_sdk_lambda::types::builders::FunctionCodeLocationBuilder
source · #[non_exhaustive]pub struct FunctionCodeLocationBuilder { /* private fields */ }
Expand description
A builder for FunctionCodeLocation
.
Implementations§
source§impl FunctionCodeLocationBuilder
impl FunctionCodeLocationBuilder
sourcepub fn repository_type(self, input: impl Into<String>) -> Self
pub fn repository_type(self, input: impl Into<String>) -> Self
The service that's hosting the file.
sourcepub fn set_repository_type(self, input: Option<String>) -> Self
pub fn set_repository_type(self, input: Option<String>) -> Self
The service that's hosting the file.
sourcepub fn get_repository_type(&self) -> &Option<String>
pub fn get_repository_type(&self) -> &Option<String>
The service that's hosting the file.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
A presigned URL that you can use to download the deployment package.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
A presigned URL that you can use to download the deployment package.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
A presigned URL that you can use to download the deployment package.
sourcepub fn image_uri(self, input: impl Into<String>) -> Self
pub fn image_uri(self, input: impl Into<String>) -> Self
URI of a container image in the Amazon ECR registry.
sourcepub fn set_image_uri(self, input: Option<String>) -> Self
pub fn set_image_uri(self, input: Option<String>) -> Self
URI of a container image in the Amazon ECR registry.
sourcepub fn get_image_uri(&self) -> &Option<String>
pub fn get_image_uri(&self) -> &Option<String>
URI of a container image in the Amazon ECR registry.
sourcepub fn resolved_image_uri(self, input: impl Into<String>) -> Self
pub fn resolved_image_uri(self, input: impl Into<String>) -> Self
The resolved URI for the image.
sourcepub fn set_resolved_image_uri(self, input: Option<String>) -> Self
pub fn set_resolved_image_uri(self, input: Option<String>) -> Self
The resolved URI for the image.
sourcepub fn get_resolved_image_uri(&self) -> &Option<String>
pub fn get_resolved_image_uri(&self) -> &Option<String>
The resolved URI for the image.
sourcepub fn build(self) -> FunctionCodeLocation
pub fn build(self) -> FunctionCodeLocation
Consumes the builder and constructs a FunctionCodeLocation
.
Trait Implementations§
source§impl Clone for FunctionCodeLocationBuilder
impl Clone for FunctionCodeLocationBuilder
source§fn clone(&self) -> FunctionCodeLocationBuilder
fn clone(&self) -> FunctionCodeLocationBuilder
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 FunctionCodeLocationBuilder
impl Debug for FunctionCodeLocationBuilder
source§impl Default for FunctionCodeLocationBuilder
impl Default for FunctionCodeLocationBuilder
source§fn default() -> FunctionCodeLocationBuilder
fn default() -> FunctionCodeLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FunctionCodeLocationBuilder
impl PartialEq for FunctionCodeLocationBuilder
source§fn eq(&self, other: &FunctionCodeLocationBuilder) -> bool
fn eq(&self, other: &FunctionCodeLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionCodeLocationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FunctionCodeLocationBuilder
impl Send for FunctionCodeLocationBuilder
impl Sync for FunctionCodeLocationBuilder
impl Unpin for FunctionCodeLocationBuilder
impl UnwindSafe for FunctionCodeLocationBuilder
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.