Struct aws_sdk_schemas::operation::get_discovered_schema::builders::GetDiscoveredSchemaFluentBuilder
source · pub struct GetDiscoveredSchemaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetDiscoveredSchema.
Get the discovered schema that was generated based on sampled events.
Implementations§
source§impl GetDiscoveredSchemaFluentBuilder
impl GetDiscoveredSchemaFluentBuilder
sourcepub fn as_input(&self) -> &GetDiscoveredSchemaInputBuilder
pub fn as_input(&self) -> &GetDiscoveredSchemaInputBuilder
Access the GetDiscoveredSchema as a reference.
sourcepub async fn send(
self
) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError, HttpResponse>>
pub async fn send( self ) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetDiscoveredSchemaOutput, GetDiscoveredSchemaError, Self>
pub fn customize( self ) -> CustomizableOperation<GetDiscoveredSchemaOutput, GetDiscoveredSchemaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for GetDiscoveredSchemaFluentBuilder
impl Clone for GetDiscoveredSchemaFluentBuilder
source§fn clone(&self) -> GetDiscoveredSchemaFluentBuilder
fn clone(&self) -> GetDiscoveredSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more