Struct aws_sdk_personalize::input::create_schema_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateSchemaInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
A schema in Avro JSON format.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
sourcepub fn build(self) -> Result<CreateSchemaInput, BuildError>
pub fn build(self) -> Result<CreateSchemaInput, BuildError>
Consumes the builder and constructs a CreateSchemaInput
.