Struct aws_sdk_appstream::model::script_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ScriptDetails.
Implementations§
source§impl Builder
impl Builder
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.
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 executable_path(self, input: impl Into<String>) -> Self
pub fn executable_path(self, input: impl Into<String>) -> Self
The run path for the script.
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 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 timeout_in_seconds(self, input: i32) -> Self
pub fn timeout_in_seconds(self, input: i32) -> Self
The run timeout, in seconds, for the script.
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 build(self) -> ScriptDetails
pub fn build(self) -> ScriptDetails
Consumes the builder and constructs a ScriptDetails.