Struct aws_sdk_lambda::input::delete_layer_version_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteLayerVersionInput
.
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 or Amazon Resource Name (ARN) 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 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.
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 build(self) -> Result<DeleteLayerVersionInput, BuildError>
pub fn build(self) -> Result<DeleteLayerVersionInput, BuildError>
Consumes the builder and constructs a DeleteLayerVersionInput
.