Struct aws_sdk_appsync::operation::get_introspection_schema::builders::GetIntrospectionSchemaInputBuilder
source · #[non_exhaustive]pub struct GetIntrospectionSchemaInputBuilder { /* private fields */ }
Expand description
A builder for GetIntrospectionSchemaInput
.
Implementations§
source§impl GetIntrospectionSchemaInputBuilder
impl GetIntrospectionSchemaInputBuilder
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
.
Trait Implementations§
source§impl Clone for GetIntrospectionSchemaInputBuilder
impl Clone for GetIntrospectionSchemaInputBuilder
source§fn clone(&self) -> GetIntrospectionSchemaInputBuilder
fn clone(&self) -> GetIntrospectionSchemaInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetIntrospectionSchemaInputBuilder
impl Default for GetIntrospectionSchemaInputBuilder
source§fn default() -> GetIntrospectionSchemaInputBuilder
fn default() -> GetIntrospectionSchemaInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetIntrospectionSchemaInputBuilder> for GetIntrospectionSchemaInputBuilder
impl PartialEq<GetIntrospectionSchemaInputBuilder> for GetIntrospectionSchemaInputBuilder
source§fn eq(&self, other: &GetIntrospectionSchemaInputBuilder) -> bool
fn eq(&self, other: &GetIntrospectionSchemaInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.