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 get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API ID.
sourcepub fn format(self, input: OutputType) -> Self
pub fn format(self, input: OutputType) -> Self
The schema format: SDL or JSON.
This field is required.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 get_format(&self) -> &Option<OutputType>
pub fn get_format(&self) -> &Option<OutputType>
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 get_include_directives(&self) -> &Option<bool>
pub fn get_include_directives(&self) -> &Option<bool>
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
.
source§impl GetIntrospectionSchemaInputBuilder
impl GetIntrospectionSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetIntrospectionSchemaOutput, SdkError<GetIntrospectionSchemaError, HttpResponse>>
Sends a request with this input using the given client.
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 for GetIntrospectionSchemaInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for GetIntrospectionSchemaInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetIntrospectionSchemaInputBuilder
impl Send for GetIntrospectionSchemaInputBuilder
impl Sync for GetIntrospectionSchemaInputBuilder
impl Unpin for GetIntrospectionSchemaInputBuilder
impl UnwindSafe for GetIntrospectionSchemaInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.