#[non_exhaustive]pub struct StartExperimentInputBuilder { /* private fields */ }Expand description
A builder for StartExperimentInput.
Implementations§
source§impl StartExperimentInputBuilder
impl StartExperimentInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn experiment_template_id(self, input: impl Into<String>) -> Self
pub fn experiment_template_id(self, input: impl Into<String>) -> Self
The ID of the experiment template.
This field is required.sourcepub fn set_experiment_template_id(self, input: Option<String>) -> Self
pub fn set_experiment_template_id(self, input: Option<String>) -> Self
The ID of the experiment template.
sourcepub fn get_experiment_template_id(&self) -> &Option<String>
pub fn get_experiment_template_id(&self) -> &Option<String>
The ID of the experiment template.
sourcepub fn experiment_options(
self,
input: StartExperimentExperimentOptionsInput
) -> Self
pub fn experiment_options( self, input: StartExperimentExperimentOptionsInput ) -> Self
The experiment options for running the experiment.
sourcepub fn set_experiment_options(
self,
input: Option<StartExperimentExperimentOptionsInput>
) -> Self
pub fn set_experiment_options( self, input: Option<StartExperimentExperimentOptionsInput> ) -> Self
The experiment options for running the experiment.
sourcepub fn get_experiment_options(
&self
) -> &Option<StartExperimentExperimentOptionsInput>
pub fn get_experiment_options( &self ) -> &Option<StartExperimentExperimentOptionsInput>
The experiment options for running the experiment.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags to apply to the experiment.
The tags to apply to the experiment.
The tags to apply to the experiment.
sourcepub fn build(self) -> Result<StartExperimentInput, BuildError>
pub fn build(self) -> Result<StartExperimentInput, BuildError>
Consumes the builder and constructs a StartExperimentInput.
source§impl StartExperimentInputBuilder
impl StartExperimentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartExperimentOutput, SdkError<StartExperimentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartExperimentOutput, SdkError<StartExperimentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartExperimentInputBuilder
impl Clone for StartExperimentInputBuilder
source§fn clone(&self) -> StartExperimentInputBuilder
fn clone(&self) -> StartExperimentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartExperimentInputBuilder
impl Debug for StartExperimentInputBuilder
source§impl Default for StartExperimentInputBuilder
impl Default for StartExperimentInputBuilder
source§fn default() -> StartExperimentInputBuilder
fn default() -> StartExperimentInputBuilder
source§impl PartialEq for StartExperimentInputBuilder
impl PartialEq for StartExperimentInputBuilder
source§fn eq(&self, other: &StartExperimentInputBuilder) -> bool
fn eq(&self, other: &StartExperimentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartExperimentInputBuilder
Auto Trait Implementations§
impl Freeze for StartExperimentInputBuilder
impl RefUnwindSafe for StartExperimentInputBuilder
impl Send for StartExperimentInputBuilder
impl Sync for StartExperimentInputBuilder
impl Unpin for StartExperimentInputBuilder
impl UnwindSafe for StartExperimentInputBuilder
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