Struct aws_sdk_athena::model::data_catalog_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DataCatalogSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn catalog_name(self, input: impl Into<String>) -> Self
pub fn catalog_name(self, input: impl Into<String>) -> Self
The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
sourcepub fn set_catalog_name(self, input: Option<String>) -> Self
pub fn set_catalog_name(self, input: Option<String>) -> Self
The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
sourcepub fn type(self, input: DataCatalogType) -> Self
pub fn type(self, input: DataCatalogType) -> Self
The data catalog type.
sourcepub fn set_type(self, input: Option<DataCatalogType>) -> Self
pub fn set_type(self, input: Option<DataCatalogType>) -> Self
The data catalog type.
sourcepub fn build(self) -> DataCatalogSummary
pub fn build(self) -> DataCatalogSummary
Consumes the builder and constructs a DataCatalogSummary
.