Struct aws_sdk_lambda::model::layers_list_item::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LayersListItem
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn layer_name(self, input: impl Into<String>) -> Self
pub fn layer_name(self, input: impl Into<String>) -> Self
The name of the layer.
sourcepub fn set_layer_name(self, input: Option<String>) -> Self
pub fn set_layer_name(self, input: Option<String>) -> Self
The name of the layer.
sourcepub fn layer_arn(self, input: impl Into<String>) -> Self
pub fn layer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function layer.
sourcepub fn set_layer_arn(self, input: Option<String>) -> Self
pub fn set_layer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function layer.
sourcepub fn latest_matching_version(self, input: LayerVersionsListItem) -> Self
pub fn latest_matching_version(self, input: LayerVersionsListItem) -> Self
The newest version of the layer.
sourcepub fn set_latest_matching_version(
self,
input: Option<LayerVersionsListItem>
) -> Self
pub fn set_latest_matching_version(
self,
input: Option<LayerVersionsListItem>
) -> Self
The newest version of the layer.
sourcepub fn build(self) -> LayersListItem
pub fn build(self) -> LayersListItem
Consumes the builder and constructs a LayersListItem
.