Struct aws_sdk_datazone::types::builders::RejectChoiceBuilder
source · #[non_exhaustive]pub struct RejectChoiceBuilder { /* private fields */ }
Expand description
A builder for RejectChoice
.
Implementations§
source§impl RejectChoiceBuilder
impl RejectChoiceBuilder
sourcepub fn prediction_target(self, input: impl Into<String>) -> Self
pub fn prediction_target(self, input: impl Into<String>) -> Self
Specifies the target (for example, a column name) where a prediction can be rejected.
sourcepub fn set_prediction_target(self, input: Option<String>) -> Self
pub fn set_prediction_target(self, input: Option<String>) -> Self
Specifies the target (for example, a column name) where a prediction can be rejected.
sourcepub fn get_prediction_target(&self) -> &Option<String>
pub fn get_prediction_target(&self) -> &Option<String>
Specifies the target (for example, a column name) where a prediction can be rejected.
sourcepub fn prediction_choices(self, input: i32) -> Self
pub fn prediction_choices(self, input: i32) -> Self
Appends an item to prediction_choices
.
To override the contents of this collection use set_prediction_choices
.
Specifies the the automatically generated business metadata that can be rejected.
sourcepub fn set_prediction_choices(self, input: Option<Vec<i32>>) -> Self
pub fn set_prediction_choices(self, input: Option<Vec<i32>>) -> Self
Specifies the the automatically generated business metadata that can be rejected.
sourcepub fn get_prediction_choices(&self) -> &Option<Vec<i32>>
pub fn get_prediction_choices(&self) -> &Option<Vec<i32>>
Specifies the the automatically generated business metadata that can be rejected.
sourcepub fn build(self) -> RejectChoice
pub fn build(self) -> RejectChoice
Consumes the builder and constructs a RejectChoice
.
Trait Implementations§
source§impl Clone for RejectChoiceBuilder
impl Clone for RejectChoiceBuilder
source§fn clone(&self) -> RejectChoiceBuilder
fn clone(&self) -> RejectChoiceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RejectChoiceBuilder
impl Debug for RejectChoiceBuilder
source§impl Default for RejectChoiceBuilder
impl Default for RejectChoiceBuilder
source§fn default() -> RejectChoiceBuilder
fn default() -> RejectChoiceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RejectChoiceBuilder
impl PartialEq for RejectChoiceBuilder
source§fn eq(&self, other: &RejectChoiceBuilder) -> bool
fn eq(&self, other: &RejectChoiceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RejectChoiceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RejectChoiceBuilder
impl Send for RejectChoiceBuilder
impl Sync for RejectChoiceBuilder
impl Unpin for RejectChoiceBuilder
impl UnwindSafe for RejectChoiceBuilder
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
Mutably borrows from an owned value. Read more