#[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.
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
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 Debug for StartExperimentInputBuilder
impl Debug for StartExperimentInputBuilder
source§impl Default for StartExperimentInputBuilder
impl Default for StartExperimentInputBuilder
source§fn default() -> StartExperimentInputBuilder
fn default() -> StartExperimentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartExperimentInputBuilder
impl PartialEq for StartExperimentInputBuilder
source§fn eq(&self, other: &StartExperimentInputBuilder) -> bool
fn eq(&self, other: &StartExperimentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartExperimentInputBuilder
Auto Trait Implementations§
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
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.