#[non_exhaustive]pub struct DeploymentLaunchConfigBuilder { /* private fields */ }Expand description
A builder for DeploymentLaunchConfig.
Implementations§
source§impl DeploymentLaunchConfigBuilder
impl DeploymentLaunchConfigBuilder
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
The package name.
This field is required.sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
The package name.
sourcepub fn get_package_name(&self) -> &Option<String>
pub fn get_package_name(&self) -> &Option<String>
The package name.
sourcepub fn pre_launch_file(self, input: impl Into<String>) -> Self
pub fn pre_launch_file(self, input: impl Into<String>) -> Self
The deployment pre-launch file. This file will be executed prior to the launch file.
sourcepub fn set_pre_launch_file(self, input: Option<String>) -> Self
pub fn set_pre_launch_file(self, input: Option<String>) -> Self
The deployment pre-launch file. This file will be executed prior to the launch file.
sourcepub fn get_pre_launch_file(&self) -> &Option<String>
pub fn get_pre_launch_file(&self) -> &Option<String>
The deployment pre-launch file. This file will be executed prior to the launch file.
sourcepub fn launch_file(self, input: impl Into<String>) -> Self
pub fn launch_file(self, input: impl Into<String>) -> Self
The launch file name.
This field is required.sourcepub fn set_launch_file(self, input: Option<String>) -> Self
pub fn set_launch_file(self, input: Option<String>) -> Self
The launch file name.
sourcepub fn get_launch_file(&self) -> &Option<String>
pub fn get_launch_file(&self) -> &Option<String>
The launch file name.
sourcepub fn post_launch_file(self, input: impl Into<String>) -> Self
pub fn post_launch_file(self, input: impl Into<String>) -> Self
The deployment post-launch file. This file will be executed after the launch file.
sourcepub fn set_post_launch_file(self, input: Option<String>) -> Self
pub fn set_post_launch_file(self, input: Option<String>) -> Self
The deployment post-launch file. This file will be executed after the launch file.
sourcepub fn get_post_launch_file(&self) -> &Option<String>
pub fn get_post_launch_file(&self) -> &Option<String>
The deployment post-launch file. This file will be executed after the launch file.
sourcepub fn environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn environment_variables( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to environment_variables.
To override the contents of this collection use set_environment_variables.
An array of key/value pairs specifying environment variables for the robot application
sourcepub fn set_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_environment_variables( self, input: Option<HashMap<String, String>> ) -> Self
An array of key/value pairs specifying environment variables for the robot application
sourcepub fn get_environment_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_environment_variables(&self) -> &Option<HashMap<String, String>>
An array of key/value pairs specifying environment variables for the robot application
sourcepub fn build(self) -> Result<DeploymentLaunchConfig, BuildError>
pub fn build(self) -> Result<DeploymentLaunchConfig, BuildError>
Consumes the builder and constructs a DeploymentLaunchConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeploymentLaunchConfigBuilder
impl Clone for DeploymentLaunchConfigBuilder
source§fn clone(&self) -> DeploymentLaunchConfigBuilder
fn clone(&self) -> DeploymentLaunchConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeploymentLaunchConfigBuilder
impl Default for DeploymentLaunchConfigBuilder
source§fn default() -> DeploymentLaunchConfigBuilder
fn default() -> DeploymentLaunchConfigBuilder
source§impl PartialEq for DeploymentLaunchConfigBuilder
impl PartialEq for DeploymentLaunchConfigBuilder
source§fn eq(&self, other: &DeploymentLaunchConfigBuilder) -> bool
fn eq(&self, other: &DeploymentLaunchConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.