Struct aws_sdk_apptest::types::builders::ScriptSummaryBuilder
source · #[non_exhaustive]pub struct ScriptSummaryBuilder { /* private fields */ }
Expand description
A builder for ScriptSummary
.
Implementations§
source§impl ScriptSummaryBuilder
impl ScriptSummaryBuilder
sourcepub fn script_location(self, input: impl Into<String>) -> Self
pub fn script_location(self, input: impl Into<String>) -> Self
The script location of the script summary.
This field is required.sourcepub fn set_script_location(self, input: Option<String>) -> Self
pub fn set_script_location(self, input: Option<String>) -> Self
The script location of the script summary.
sourcepub fn get_script_location(&self) -> &Option<String>
pub fn get_script_location(&self) -> &Option<String>
The script location of the script summary.
sourcepub fn type(self, input: ScriptType) -> Self
pub fn type(self, input: ScriptType) -> Self
The type of the script summary.
This field is required.sourcepub fn set_type(self, input: Option<ScriptType>) -> Self
pub fn set_type(self, input: Option<ScriptType>) -> Self
The type of the script summary.
sourcepub fn get_type(&self) -> &Option<ScriptType>
pub fn get_type(&self) -> &Option<ScriptType>
The type of the script summary.
sourcepub fn build(self) -> Result<ScriptSummary, BuildError>
pub fn build(self) -> Result<ScriptSummary, BuildError>
Consumes the builder and constructs a ScriptSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ScriptSummaryBuilder
impl Clone for ScriptSummaryBuilder
source§fn clone(&self) -> ScriptSummaryBuilder
fn clone(&self) -> ScriptSummaryBuilder
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 ScriptSummaryBuilder
impl Debug for ScriptSummaryBuilder
source§impl Default for ScriptSummaryBuilder
impl Default for ScriptSummaryBuilder
source§fn default() -> ScriptSummaryBuilder
fn default() -> ScriptSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScriptSummaryBuilder
impl PartialEq for ScriptSummaryBuilder
source§fn eq(&self, other: &ScriptSummaryBuilder) -> bool
fn eq(&self, other: &ScriptSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScriptSummaryBuilder
Auto Trait Implementations§
impl Freeze for ScriptSummaryBuilder
impl RefUnwindSafe for ScriptSummaryBuilder
impl Send for ScriptSummaryBuilder
impl Sync for ScriptSummaryBuilder
impl Unpin for ScriptSummaryBuilder
impl UnwindSafe for ScriptSummaryBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.