Struct aws_sdk_datazone::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder
source · pub struct AcceptPredictionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AcceptPredictions
.
Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.
Implementations§
source§impl AcceptPredictionsFluentBuilder
impl AcceptPredictionsFluentBuilder
sourcepub fn as_input(&self) -> &AcceptPredictionsInputBuilder
pub fn as_input(&self) -> &AcceptPredictionsInputBuilder
Access the AcceptPredictions as a reference.
sourcepub async fn send(
self
) -> Result<AcceptPredictionsOutput, SdkError<AcceptPredictionsError, HttpResponse>>
pub async fn send( self ) -> Result<AcceptPredictionsOutput, SdkError<AcceptPredictionsError, 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 async fn customize(
self
) -> Result<CustomizableOperation<AcceptPredictionsOutput, AcceptPredictionsError, Self>, SdkError<AcceptPredictionsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AcceptPredictionsOutput, AcceptPredictionsError, Self>, SdkError<AcceptPredictionsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
sourcepub fn accept_rule(self, input: AcceptRule) -> Self
pub fn accept_rule(self, input: AcceptRule) -> Self
Specifies the rule (or the conditions) under which a prediction can be accepted.
sourcepub fn set_accept_rule(self, input: Option<AcceptRule>) -> Self
pub fn set_accept_rule(self, input: Option<AcceptRule>) -> Self
Specifies the rule (or the conditions) under which a prediction can be accepted.
sourcepub fn get_accept_rule(&self) -> &Option<AcceptRule>
pub fn get_accept_rule(&self) -> &Option<AcceptRule>
Specifies the rule (or the conditions) under which a prediction can be accepted.
sourcepub fn accept_choices(self, input: AcceptChoice) -> Self
pub fn accept_choices(self, input: AcceptChoice) -> Self
Appends an item to acceptChoices
.
To override the contents of this collection use set_accept_choices
.
sourcepub fn set_accept_choices(self, input: Option<Vec<AcceptChoice>>) -> Self
pub fn set_accept_choices(self, input: Option<Vec<AcceptChoice>>) -> Self
sourcepub fn get_accept_choices(&self) -> &Option<Vec<AcceptChoice>>
pub fn get_accept_choices(&self) -> &Option<Vec<AcceptChoice>>
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
Trait Implementations§
source§impl Clone for AcceptPredictionsFluentBuilder
impl Clone for AcceptPredictionsFluentBuilder
source§fn clone(&self) -> AcceptPredictionsFluentBuilder
fn clone(&self) -> AcceptPredictionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more