Struct aws_sdk_datazone::operation::reject_predictions::builders::RejectPredictionsFluentBuilder
source · pub struct RejectPredictionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RejectPredictions
.
Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.
Implementations§
source§impl RejectPredictionsFluentBuilder
impl RejectPredictionsFluentBuilder
sourcepub fn as_input(&self) -> &RejectPredictionsInputBuilder
pub fn as_input(&self) -> &RejectPredictionsInputBuilder
Access the RejectPredictions as a reference.
sourcepub async fn send(
self
) -> Result<RejectPredictionsOutput, SdkError<RejectPredictionsError, HttpResponse>>
pub async fn send( self ) -> Result<RejectPredictionsOutput, SdkError<RejectPredictionsError, 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<RejectPredictionsOutput, RejectPredictionsError, Self>
pub fn customize( self ) -> CustomizableOperation<RejectPredictionsOutput, RejectPredictionsError, Self>
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
The identifier of the prediction.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the prediction.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the prediction.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision that is to be made to the asset.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision that is to be made to the asset.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision that is to be made to the asset.
sourcepub fn reject_rule(self, input: RejectRule) -> Self
pub fn reject_rule(self, input: RejectRule) -> Self
Specifies the rule (or the conditions) under which a prediction can be rejected.
sourcepub fn set_reject_rule(self, input: Option<RejectRule>) -> Self
pub fn set_reject_rule(self, input: Option<RejectRule>) -> Self
Specifies the rule (or the conditions) under which a prediction can be rejected.
sourcepub fn get_reject_rule(&self) -> &Option<RejectRule>
pub fn get_reject_rule(&self) -> &Option<RejectRule>
Specifies the rule (or the conditions) under which a prediction can be rejected.
sourcepub fn reject_choices(self, input: RejectChoice) -> Self
pub fn reject_choices(self, input: RejectChoice) -> Self
Appends an item to rejectChoices
.
To override the contents of this collection use set_reject_choices
.
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
sourcepub fn set_reject_choices(self, input: Option<Vec<RejectChoice>>) -> Self
pub fn set_reject_choices(self, input: Option<Vec<RejectChoice>>) -> Self
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
sourcepub fn get_reject_choices(&self) -> &Option<Vec<RejectChoice>>
pub fn get_reject_choices(&self) -> &Option<Vec<RejectChoice>>
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
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 that is provided to ensure the idempotency of the request.
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 that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for RejectPredictionsFluentBuilder
impl Clone for RejectPredictionsFluentBuilder
source§fn clone(&self) -> RejectPredictionsFluentBuilder
fn clone(&self) -> RejectPredictionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more