Struct aws_sdk_appstream::types::builders::ScriptDetailsBuilder
source · #[non_exhaustive]pub struct ScriptDetailsBuilder { /* private fields */ }
Expand description
A builder for ScriptDetails
.
Implementations§
source§impl ScriptDetailsBuilder
impl ScriptDetailsBuilder
sourcepub fn script_s3_location(self, input: S3Location) -> Self
pub fn script_s3_location(self, input: S3Location) -> Self
The S3 object location for the script.
This field is required.sourcepub fn set_script_s3_location(self, input: Option<S3Location>) -> Self
pub fn set_script_s3_location(self, input: Option<S3Location>) -> Self
The S3 object location for the script.
sourcepub fn get_script_s3_location(&self) -> &Option<S3Location>
pub fn get_script_s3_location(&self) -> &Option<S3Location>
The S3 object location for the script.
sourcepub fn executable_path(self, input: impl Into<String>) -> Self
pub fn executable_path(self, input: impl Into<String>) -> Self
The run path for the script.
This field is required.sourcepub fn set_executable_path(self, input: Option<String>) -> Self
pub fn set_executable_path(self, input: Option<String>) -> Self
The run path for the script.
sourcepub fn get_executable_path(&self) -> &Option<String>
pub fn get_executable_path(&self) -> &Option<String>
The run path for the script.
sourcepub fn executable_parameters(self, input: impl Into<String>) -> Self
pub fn executable_parameters(self, input: impl Into<String>) -> Self
The runtime parameters passed to the run path for the script.
sourcepub fn set_executable_parameters(self, input: Option<String>) -> Self
pub fn set_executable_parameters(self, input: Option<String>) -> Self
The runtime parameters passed to the run path for the script.
sourcepub fn get_executable_parameters(&self) -> &Option<String>
pub fn get_executable_parameters(&self) -> &Option<String>
The runtime parameters passed to the run path for the script.
sourcepub fn timeout_in_seconds(self, input: i32) -> Self
pub fn timeout_in_seconds(self, input: i32) -> Self
The run timeout, in seconds, for the script.
This field is required.sourcepub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
pub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
The run timeout, in seconds, for the script.
sourcepub fn get_timeout_in_seconds(&self) -> &Option<i32>
pub fn get_timeout_in_seconds(&self) -> &Option<i32>
The run timeout, in seconds, for the script.
sourcepub fn build(self) -> ScriptDetails
pub fn build(self) -> ScriptDetails
Consumes the builder and constructs a ScriptDetails
.
Trait Implementations§
source§impl Clone for ScriptDetailsBuilder
impl Clone for ScriptDetailsBuilder
source§fn clone(&self) -> ScriptDetailsBuilder
fn clone(&self) -> ScriptDetailsBuilder
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 ScriptDetailsBuilder
impl Debug for ScriptDetailsBuilder
source§impl Default for ScriptDetailsBuilder
impl Default for ScriptDetailsBuilder
source§fn default() -> ScriptDetailsBuilder
fn default() -> ScriptDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScriptDetailsBuilder
impl PartialEq for ScriptDetailsBuilder
source§fn eq(&self, other: &ScriptDetailsBuilder) -> bool
fn eq(&self, other: &ScriptDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScriptDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ScriptDetailsBuilder
impl Send for ScriptDetailsBuilder
impl Sync for ScriptDetailsBuilder
impl Unpin for ScriptDetailsBuilder
impl UnwindSafe for ScriptDetailsBuilder
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.