Struct aws_sdk_batch::types::builders::EvaluateOnExitBuilder
source · #[non_exhaustive]pub struct EvaluateOnExitBuilder { /* private fields */ }
Expand description
A builder for EvaluateOnExit
.
Implementations§
source§impl EvaluateOnExitBuilder
impl EvaluateOnExitBuilder
sourcepub fn on_status_reason(self, input: impl Into<String>) -> Self
pub fn on_status_reason(self, input: impl Into<String>) -> Self
Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
sourcepub fn set_on_status_reason(self, input: Option<String>) -> Self
pub fn set_on_status_reason(self, input: Option<String>) -> Self
Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
sourcepub fn on_reason(self, input: impl Into<String>) -> Self
pub fn on_reason(self, input: impl Into<String>) -> Self
Contains a glob pattern to match against the Reason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
sourcepub fn set_on_reason(self, input: Option<String>) -> Self
pub fn set_on_reason(self, input: Option<String>) -> Self
Contains a glob pattern to match against the Reason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
sourcepub fn on_exit_code(self, input: impl Into<String>) -> Self
pub fn on_exit_code(self, input: impl Into<String>) -> Self
Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can contain up to 512 characters.
sourcepub fn set_on_exit_code(self, input: Option<String>) -> Self
pub fn set_on_exit_code(self, input: Option<String>) -> Self
Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can contain up to 512 characters.
sourcepub fn action(self, input: RetryAction) -> Self
pub fn action(self, input: RetryAction) -> Self
Specifies the action to take if all of the specified conditions (onStatusReason
, onReason
, and onExitCode
) are met. The values aren't case sensitive.
sourcepub fn set_action(self, input: Option<RetryAction>) -> Self
pub fn set_action(self, input: Option<RetryAction>) -> Self
Specifies the action to take if all of the specified conditions (onStatusReason
, onReason
, and onExitCode
) are met. The values aren't case sensitive.
sourcepub fn build(self) -> EvaluateOnExit
pub fn build(self) -> EvaluateOnExit
Consumes the builder and constructs a EvaluateOnExit
.
Trait Implementations§
source§impl Clone for EvaluateOnExitBuilder
impl Clone for EvaluateOnExitBuilder
source§fn clone(&self) -> EvaluateOnExitBuilder
fn clone(&self) -> EvaluateOnExitBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluateOnExitBuilder
impl Debug for EvaluateOnExitBuilder
source§impl Default for EvaluateOnExitBuilder
impl Default for EvaluateOnExitBuilder
source§fn default() -> EvaluateOnExitBuilder
fn default() -> EvaluateOnExitBuilder
source§impl PartialEq<EvaluateOnExitBuilder> for EvaluateOnExitBuilder
impl PartialEq<EvaluateOnExitBuilder> for EvaluateOnExitBuilder
source§fn eq(&self, other: &EvaluateOnExitBuilder) -> bool
fn eq(&self, other: &EvaluateOnExitBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.