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 ==.impl StructuralPartialEq for GetDiscoveredSchemaInputBuilder
Auto Trait Implementations§
impl Freeze for GetDiscoveredSchemaInputBuilder
impl RefUnwindSafe for GetDiscoveredSchemaInputBuilder
impl Send for GetDiscoveredSchemaInputBuilder
impl Sync for GetDiscoveredSchemaInputBuilder
impl Unpin for GetDiscoveredSchemaInputBuilder
impl UnwindSafe for GetDiscoveredSchemaInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more