pub struct Builder { /* private fields */ }Expand description
A builder for CheckSchemaVersionValidityInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn data_format(self, input: DataFormat) -> Self
pub fn data_format(self, input: DataFormat) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn set_data_format(self, input: Option<DataFormat>) -> Self
pub fn set_data_format(self, input: Option<DataFormat>) -> Self
The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.
sourcepub fn schema_definition(self, input: impl Into<String>) -> Self
pub fn schema_definition(self, input: impl Into<String>) -> Self
The definition of the schema that has to be validated.
sourcepub fn set_schema_definition(self, input: Option<String>) -> Self
pub fn set_schema_definition(self, input: Option<String>) -> Self
The definition of the schema that has to be validated.
sourcepub fn build(self) -> Result<CheckSchemaVersionValidityInput, BuildError>
pub fn build(self) -> Result<CheckSchemaVersionValidityInput, BuildError>
Consumes the builder and constructs a CheckSchemaVersionValidityInput.