Struct aws_sdk_datazone::operation::reject_predictions::builders::RejectPredictionsInputBuilder
source · #[non_exhaustive]pub struct RejectPredictionsInputBuilder { /* private fields */ }Expand description
A builder for RejectPredictionsInput.
Implementations§
source§impl RejectPredictionsInputBuilder
impl RejectPredictionsInputBuilder
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.
This field is required.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.
This field is required.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 reject_choices.
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.
sourcepub fn build(self) -> Result<RejectPredictionsInput, BuildError>
pub fn build(self) -> Result<RejectPredictionsInput, BuildError>
Consumes the builder and constructs a RejectPredictionsInput.
source§impl RejectPredictionsInputBuilder
impl RejectPredictionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RejectPredictionsOutput, SdkError<RejectPredictionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RejectPredictionsOutput, SdkError<RejectPredictionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RejectPredictionsInputBuilder
impl Clone for RejectPredictionsInputBuilder
source§fn clone(&self) -> RejectPredictionsInputBuilder
fn clone(&self) -> RejectPredictionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RejectPredictionsInputBuilder
impl Default for RejectPredictionsInputBuilder
source§fn default() -> RejectPredictionsInputBuilder
fn default() -> RejectPredictionsInputBuilder
source§impl PartialEq for RejectPredictionsInputBuilder
impl PartialEq for RejectPredictionsInputBuilder
source§fn eq(&self, other: &RejectPredictionsInputBuilder) -> bool
fn eq(&self, other: &RejectPredictionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RejectPredictionsInputBuilder
Auto Trait Implementations§
impl Freeze for RejectPredictionsInputBuilder
impl RefUnwindSafe for RejectPredictionsInputBuilder
impl Send for RejectPredictionsInputBuilder
impl Sync for RejectPredictionsInputBuilder
impl Unpin for RejectPredictionsInputBuilder
impl UnwindSafe for RejectPredictionsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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