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.
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 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 reject_rule(self, input: RejectRule) -> Self
pub fn reject_rule(self, input: RejectRule) -> Self
sourcepub fn set_reject_rule(self, input: Option<RejectRule>) -> Self
pub fn set_reject_rule(self, input: Option<RejectRule>) -> Self
sourcepub fn get_reject_rule(&self) -> &Option<RejectRule>
pub fn get_reject_rule(&self) -> &Option<RejectRule>
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
.
sourcepub fn set_reject_choices(self, input: Option<Vec<RejectChoice>>) -> Self
pub fn set_reject_choices(self, input: Option<Vec<RejectChoice>>) -> Self
sourcepub fn get_reject_choices(&self) -> &Option<Vec<RejectChoice>>
pub fn get_reject_choices(&self) -> &Option<Vec<RejectChoice>>
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 ==
.