Struct aws_sdk_evidently::types::builders::RefResourceBuilder
source · #[non_exhaustive]pub struct RefResourceBuilder { /* private fields */ }
Expand description
A builder for RefResource
.
Implementations§
source§impl RefResourceBuilder
impl RefResourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the experiment or launch.
This field is required.sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
Specifies whether the resource that this structure contains information about is an experiment or a launch.
This field is required.sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
Specifies whether the resource that this structure contains information about is an experiment or a launch.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
Specifies whether the resource that this structure contains information about is an experiment or a launch.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the experiment or launch.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the experiment or launch.
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
The day and time that this experiment or launch started.
sourcepub fn set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
The day and time that this experiment or launch started.
sourcepub fn get_start_time(&self) -> &Option<String>
pub fn get_start_time(&self) -> &Option<String>
The day and time that this experiment or launch started.
sourcepub fn end_time(self, input: impl Into<String>) -> Self
pub fn end_time(self, input: impl Into<String>) -> Self
The day and time that this experiment or launch ended.
sourcepub fn set_end_time(self, input: Option<String>) -> Self
pub fn set_end_time(self, input: Option<String>) -> Self
The day and time that this experiment or launch ended.
sourcepub fn get_end_time(&self) -> &Option<String>
pub fn get_end_time(&self) -> &Option<String>
The day and time that this experiment or launch ended.
sourcepub fn last_updated_on(self, input: impl Into<String>) -> Self
pub fn last_updated_on(self, input: impl Into<String>) -> Self
The day and time that this experiment or launch was most recently updated.
sourcepub fn set_last_updated_on(self, input: Option<String>) -> Self
pub fn set_last_updated_on(self, input: Option<String>) -> Self
The day and time that this experiment or launch was most recently updated.
sourcepub fn get_last_updated_on(&self) -> &Option<String>
pub fn get_last_updated_on(&self) -> &Option<String>
The day and time that this experiment or launch was most recently updated.
sourcepub fn build(self) -> Result<RefResource, BuildError>
pub fn build(self) -> Result<RefResource, BuildError>
Consumes the builder and constructs a RefResource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RefResourceBuilder
impl Clone for RefResourceBuilder
source§fn clone(&self) -> RefResourceBuilder
fn clone(&self) -> RefResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RefResourceBuilder
impl Debug for RefResourceBuilder
source§impl Default for RefResourceBuilder
impl Default for RefResourceBuilder
source§fn default() -> RefResourceBuilder
fn default() -> RefResourceBuilder
source§impl PartialEq for RefResourceBuilder
impl PartialEq for RefResourceBuilder
source§fn eq(&self, other: &RefResourceBuilder) -> bool
fn eq(&self, other: &RefResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RefResourceBuilder
Auto Trait Implementations§
impl Freeze for RefResourceBuilder
impl RefUnwindSafe for RefResourceBuilder
impl Send for RefResourceBuilder
impl Sync for RefResourceBuilder
impl Unpin for RefResourceBuilder
impl UnwindSafe for RefResourceBuilder
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> 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