Struct aws_sdk_schemas::client::fluent_builders::CreateDiscoverer
source · pub struct CreateDiscoverer { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDiscoverer
.
Creates a discoverer.
Implementations§
source§impl CreateDiscoverer
impl CreateDiscoverer
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDiscoverer, AwsResponseRetryClassifier>, SdkError<CreateDiscovererError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateDiscoverer, AwsResponseRetryClassifier>, SdkError<CreateDiscovererError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateDiscovererOutput, SdkError<CreateDiscovererError>>
pub async fn send(
self
) -> Result<CreateDiscovererOutput, SdkError<CreateDiscovererError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the discoverer.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the discoverer.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the event bus.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the event bus.
sourcepub fn cross_account(self, input: bool) -> Self
pub fn cross_account(self, input: bool) -> Self
Support discovery of schemas in events sent to the bus from another account. (default: true).
sourcepub fn set_cross_account(self, input: Option<bool>) -> Self
pub fn set_cross_account(self, input: Option<bool>) -> Self
Support discovery of schemas in events sent to the bus from another account. (default: true).
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
Tags associated with the resource.
Tags associated with the resource.
Trait Implementations§
source§impl Clone for CreateDiscoverer
impl Clone for CreateDiscoverer
source§fn clone(&self) -> CreateDiscoverer
fn clone(&self) -> CreateDiscoverer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more