Struct aws_sdk_lambda::model::layer_version_content_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LayerVersionContentInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket of the layer archive.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket of the layer archive.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The Amazon S3 key of the layer archive.
sourcepub fn s3_object_version(self, input: impl Into<String>) -> Self
pub fn s3_object_version(self, input: impl Into<String>) -> Self
For versioned objects, the version of the layer archive object to use.
sourcepub fn set_s3_object_version(self, input: Option<String>) -> Self
pub fn set_s3_object_version(self, input: Option<String>) -> Self
For versioned objects, the version of the layer archive object to use.
sourcepub fn zip_file(self, input: Blob) -> Self
pub fn zip_file(self, input: Blob) -> Self
The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn set_zip_file(self, input: Option<Blob>) -> Self
pub fn set_zip_file(self, input: Option<Blob>) -> Self
The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn build(self) -> LayerVersionContentInput
pub fn build(self) -> LayerVersionContentInput
Consumes the builder and constructs a LayerVersionContentInput
.