Struct aws_sdk_appsync::operation::start_schema_creation::builders::StartSchemaCreationInputBuilder
source · #[non_exhaustive]pub struct StartSchemaCreationInputBuilder { /* private fields */ }Expand description
A builder for StartSchemaCreationInput.
Implementations§
source§impl StartSchemaCreationInputBuilder
impl StartSchemaCreationInputBuilder
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 definition(self, input: Blob) -> Self
pub fn definition(self, input: Blob) -> Self
The schema definition, in GraphQL schema language format.
sourcepub fn set_definition(self, input: Option<Blob>) -> Self
pub fn set_definition(self, input: Option<Blob>) -> Self
The schema definition, in GraphQL schema language format.
sourcepub fn build(self) -> Result<StartSchemaCreationInput, BuildError>
pub fn build(self) -> Result<StartSchemaCreationInput, BuildError>
Consumes the builder and constructs a StartSchemaCreationInput.
Trait Implementations§
source§impl Clone for StartSchemaCreationInputBuilder
impl Clone for StartSchemaCreationInputBuilder
source§fn clone(&self) -> StartSchemaCreationInputBuilder
fn clone(&self) -> StartSchemaCreationInputBuilder
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 StartSchemaCreationInputBuilder
impl Default for StartSchemaCreationInputBuilder
source§fn default() -> StartSchemaCreationInputBuilder
fn default() -> StartSchemaCreationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StartSchemaCreationInputBuilder> for StartSchemaCreationInputBuilder
impl PartialEq<StartSchemaCreationInputBuilder> for StartSchemaCreationInputBuilder
source§fn eq(&self, other: &StartSchemaCreationInputBuilder) -> bool
fn eq(&self, other: &StartSchemaCreationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.