pub struct Builder { /* private fields */ }
Expand description
A builder for GetIntrospectionSchemaInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API ID.
sourcepub fn format(self, input: OutputType) -> Self
pub fn format(self, input: OutputType) -> Self
The schema format: SDL or JSON.
sourcepub fn set_format(self, input: Option<OutputType>) -> Self
pub fn set_format(self, input: Option<OutputType>) -> Self
The schema format: SDL or JSON.
sourcepub fn include_directives(self, input: bool) -> Self
pub fn include_directives(self, input: bool) -> Self
A flag that specifies whether the schema introspection should contain directives.
sourcepub fn set_include_directives(self, input: Option<bool>) -> Self
pub fn set_include_directives(self, input: Option<bool>) -> Self
A flag that specifies whether the schema introspection should contain directives.
sourcepub fn build(self) -> Result<GetIntrospectionSchemaInput, BuildError>
pub fn build(self) -> Result<GetIntrospectionSchemaInput, BuildError>
Consumes the builder and constructs a GetIntrospectionSchemaInput
.