#[non_exhaustive]pub struct StopExperimentInputBuilder { /* private fields */ }
Expand description
A builder for StopExperimentInput
.
Implementations§
source§impl StopExperimentInputBuilder
impl StopExperimentInputBuilder
sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains the experiment to stop.
This field is required.sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains the experiment to stop.
sourcepub fn get_project(&self) -> &Option<String>
pub fn get_project(&self) -> &Option<String>
The name or ARN of the project that contains the experiment to stop.
sourcepub fn experiment(self, input: impl Into<String>) -> Self
pub fn experiment(self, input: impl Into<String>) -> Self
The name of the experiment to stop.
This field is required.sourcepub fn set_experiment(self, input: Option<String>) -> Self
pub fn set_experiment(self, input: Option<String>) -> Self
The name of the experiment to stop.
sourcepub fn get_experiment(&self) -> &Option<String>
pub fn get_experiment(&self) -> &Option<String>
The name of the experiment to stop.
sourcepub fn desired_state(self, input: ExperimentStopDesiredState) -> Self
pub fn desired_state(self, input: ExperimentStopDesiredState) -> Self
Specify whether the experiment is to be considered COMPLETED
or CANCELLED
after it stops.
sourcepub fn set_desired_state(
self,
input: Option<ExperimentStopDesiredState>
) -> Self
pub fn set_desired_state( self, input: Option<ExperimentStopDesiredState> ) -> Self
Specify whether the experiment is to be considered COMPLETED
or CANCELLED
after it stops.
sourcepub fn get_desired_state(&self) -> &Option<ExperimentStopDesiredState>
pub fn get_desired_state(&self) -> &Option<ExperimentStopDesiredState>
Specify whether the experiment is to be considered COMPLETED
or CANCELLED
after it stops.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
A string that describes why you are stopping the experiment.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A string that describes why you are stopping the experiment.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
A string that describes why you are stopping the experiment.
sourcepub fn build(self) -> Result<StopExperimentInput, BuildError>
pub fn build(self) -> Result<StopExperimentInput, BuildError>
Consumes the builder and constructs a StopExperimentInput
.
source§impl StopExperimentInputBuilder
impl StopExperimentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopExperimentOutput, SdkError<StopExperimentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopExperimentOutput, SdkError<StopExperimentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopExperimentInputBuilder
impl Clone for StopExperimentInputBuilder
source§fn clone(&self) -> StopExperimentInputBuilder
fn clone(&self) -> StopExperimentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StopExperimentInputBuilder
impl Debug for StopExperimentInputBuilder
source§impl Default for StopExperimentInputBuilder
impl Default for StopExperimentInputBuilder
source§fn default() -> StopExperimentInputBuilder
fn default() -> StopExperimentInputBuilder
source§impl PartialEq for StopExperimentInputBuilder
impl PartialEq for StopExperimentInputBuilder
source§fn eq(&self, other: &StopExperimentInputBuilder) -> bool
fn eq(&self, other: &StopExperimentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopExperimentInputBuilder
Auto Trait Implementations§
impl Freeze for StopExperimentInputBuilder
impl RefUnwindSafe for StopExperimentInputBuilder
impl Send for StopExperimentInputBuilder
impl Sync for StopExperimentInputBuilder
impl Unpin for StopExperimentInputBuilder
impl UnwindSafe for StopExperimentInputBuilder
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