Struct aws_sdk_schemas::operation::get_discovered_schema::builders::GetDiscoveredSchemaInputBuilder
source · #[non_exhaustive]pub struct GetDiscoveredSchemaInputBuilder { /* private fields */ }Expand description
A builder for GetDiscoveredSchemaInput.
Implementations§
source§impl GetDiscoveredSchemaInputBuilder
impl GetDiscoveredSchemaInputBuilder
sourcepub fn events(self, input: impl Into<String>) -> Self
pub fn events(self, input: impl Into<String>) -> Self
Appends an item to events.
To override the contents of this collection use set_events.
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
sourcepub fn set_events(self, input: Option<Vec<String>>) -> Self
pub fn set_events(self, input: Option<Vec<String>>) -> Self
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
sourcepub fn get_events(&self) -> &Option<Vec<String>>
pub fn get_events(&self) -> &Option<Vec<String>>
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
sourcepub fn build(self) -> Result<GetDiscoveredSchemaInput, BuildError>
pub fn build(self) -> Result<GetDiscoveredSchemaInput, BuildError>
Consumes the builder and constructs a GetDiscoveredSchemaInput.
source§impl GetDiscoveredSchemaInputBuilder
impl GetDiscoveredSchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDiscoveredSchemaInputBuilder
impl Clone for GetDiscoveredSchemaInputBuilder
source§fn clone(&self) -> GetDiscoveredSchemaInputBuilder
fn clone(&self) -> GetDiscoveredSchemaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetDiscoveredSchemaInputBuilder
impl Default for GetDiscoveredSchemaInputBuilder
source§fn default() -> GetDiscoveredSchemaInputBuilder
fn default() -> GetDiscoveredSchemaInputBuilder
source§impl PartialEq for GetDiscoveredSchemaInputBuilder
impl PartialEq for GetDiscoveredSchemaInputBuilder
source§fn eq(&self, other: &GetDiscoveredSchemaInputBuilder) -> bool
fn eq(&self, other: &GetDiscoveredSchemaInputBuilder) -> bool
self and other values to be equal, and is used
by ==.