Struct aws_sdk_datazone::operation::accept_predictions::builders::AcceptPredictionsOutputBuilder
source · #[non_exhaustive]pub struct AcceptPredictionsOutputBuilder { /* private fields */ }
Expand description
A builder for AcceptPredictionsOutput
.
Implementations§
source§impl AcceptPredictionsOutputBuilder
impl AcceptPredictionsOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain.
sourcepub fn asset_id(self, input: impl Into<String>) -> Self
pub fn asset_id(self, input: impl Into<String>) -> Self
The ID of the asset.
This field is required.sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The ID of the asset.
sourcepub fn get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
The ID of the asset.
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.
This field is required.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 build(self) -> Result<AcceptPredictionsOutput, BuildError>
pub fn build(self) -> Result<AcceptPredictionsOutput, BuildError>
Consumes the builder and constructs a AcceptPredictionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AcceptPredictionsOutputBuilder
impl Clone for AcceptPredictionsOutputBuilder
source§fn clone(&self) -> AcceptPredictionsOutputBuilder
fn clone(&self) -> AcceptPredictionsOutputBuilder
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 Default for AcceptPredictionsOutputBuilder
impl Default for AcceptPredictionsOutputBuilder
source§fn default() -> AcceptPredictionsOutputBuilder
fn default() -> AcceptPredictionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AcceptPredictionsOutputBuilder
impl PartialEq for AcceptPredictionsOutputBuilder
source§fn eq(&self, other: &AcceptPredictionsOutputBuilder) -> bool
fn eq(&self, other: &AcceptPredictionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AcceptPredictionsOutputBuilder
Auto Trait Implementations§
impl Freeze for AcceptPredictionsOutputBuilder
impl RefUnwindSafe for AcceptPredictionsOutputBuilder
impl Send for AcceptPredictionsOutputBuilder
impl Sync for AcceptPredictionsOutputBuilder
impl Unpin for AcceptPredictionsOutputBuilder
impl UnwindSafe for AcceptPredictionsOutputBuilder
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
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>
Creates a shared type from an unshared type.