Struct aws_sdk_robomaker::types::builders::DeploymentJobBuilder
source · #[non_exhaustive]pub struct DeploymentJobBuilder { /* private fields */ }Expand description
A builder for DeploymentJob.
Implementations§
source§impl DeploymentJobBuilder
impl DeploymentJobBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the deployment job.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the deployment job.
sourcepub fn fleet(self, input: impl Into<String>) -> Self
pub fn fleet(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the fleet.
sourcepub fn set_fleet(self, input: Option<String>) -> Self
pub fn set_fleet(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the fleet.
sourcepub fn status(self, input: DeploymentStatus) -> Self
pub fn status(self, input: DeploymentStatus) -> Self
The status of the deployment job.
sourcepub fn set_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_status(self, input: Option<DeploymentStatus>) -> Self
The status of the deployment job.
sourcepub fn get_status(&self) -> &Option<DeploymentStatus>
pub fn get_status(&self) -> &Option<DeploymentStatus>
The status of the deployment job.
sourcepub fn deployment_application_configs(
self,
input: DeploymentApplicationConfig
) -> Self
pub fn deployment_application_configs( self, input: DeploymentApplicationConfig ) -> Self
Appends an item to deployment_application_configs.
To override the contents of this collection use set_deployment_application_configs.
The deployment application configuration.
sourcepub fn set_deployment_application_configs(
self,
input: Option<Vec<DeploymentApplicationConfig>>
) -> Self
pub fn set_deployment_application_configs( self, input: Option<Vec<DeploymentApplicationConfig>> ) -> Self
The deployment application configuration.
sourcepub fn get_deployment_application_configs(
&self
) -> &Option<Vec<DeploymentApplicationConfig>>
pub fn get_deployment_application_configs( &self ) -> &Option<Vec<DeploymentApplicationConfig>>
The deployment application configuration.
sourcepub fn deployment_config(self, input: DeploymentConfig) -> Self
pub fn deployment_config(self, input: DeploymentConfig) -> Self
The deployment configuration.
sourcepub fn set_deployment_config(self, input: Option<DeploymentConfig>) -> Self
pub fn set_deployment_config(self, input: Option<DeploymentConfig>) -> Self
The deployment configuration.
sourcepub fn get_deployment_config(&self) -> &Option<DeploymentConfig>
pub fn get_deployment_config(&self) -> &Option<DeploymentConfig>
The deployment configuration.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
A short description of the reason why the deployment job failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
A short description of the reason why the deployment job failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
A short description of the reason why the deployment job failed.
sourcepub fn failure_code(self, input: DeploymentJobErrorCode) -> Self
pub fn failure_code(self, input: DeploymentJobErrorCode) -> Self
The deployment job failure code.
sourcepub fn set_failure_code(self, input: Option<DeploymentJobErrorCode>) -> Self
pub fn set_failure_code(self, input: Option<DeploymentJobErrorCode>) -> Self
The deployment job failure code.
sourcepub fn get_failure_code(&self) -> &Option<DeploymentJobErrorCode>
pub fn get_failure_code(&self) -> &Option<DeploymentJobErrorCode>
The deployment job failure code.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the deployment job was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the deployment job was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the deployment job was created.
sourcepub fn build(self) -> DeploymentJob
pub fn build(self) -> DeploymentJob
Consumes the builder and constructs a DeploymentJob.
Trait Implementations§
source§impl Clone for DeploymentJobBuilder
impl Clone for DeploymentJobBuilder
source§fn clone(&self) -> DeploymentJobBuilder
fn clone(&self) -> DeploymentJobBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeploymentJobBuilder
impl Debug for DeploymentJobBuilder
source§impl Default for DeploymentJobBuilder
impl Default for DeploymentJobBuilder
source§fn default() -> DeploymentJobBuilder
fn default() -> DeploymentJobBuilder
source§impl PartialEq for DeploymentJobBuilder
impl PartialEq for DeploymentJobBuilder
source§fn eq(&self, other: &DeploymentJobBuilder) -> bool
fn eq(&self, other: &DeploymentJobBuilder) -> bool
self and other values to be equal, and is used
by ==.