Struct aws_sdk_lambda::model::function_code_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FunctionCodeLocation
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> FunctionCodeLocation
pub fn build(self) -> FunctionCodeLocation
Consumes the builder and constructs a FunctionCodeLocation
.