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 ==
.