Struct aws_sdk_batch::model::container_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ContainerSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_exit_code(self, input: Option<i32>) -> Self
pub fn set_exit_code(self, input: Option<i32>) -> Self
The exit code to return upon completion.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
sourcepub fn build(self) -> ContainerSummary
pub fn build(self) -> ContainerSummary
Consumes the builder and constructs a ContainerSummary
.