pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteModelPackageInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_package_name(self, input: impl Into<String>) -> Self
pub fn model_package_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the model package to delete.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
sourcepub fn set_model_package_name(self, input: Option<String>) -> Self
pub fn set_model_package_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the model package to delete.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
sourcepub fn build(self) -> Result<DeleteModelPackageInput, BuildError>
pub fn build(self) -> Result<DeleteModelPackageInput, BuildError>
Consumes the builder and constructs a DeleteModelPackageInput
.