Struct aws_sdk_batch::model::job_dependency::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for JobDependency
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID of the Batch job that's associated with this dependency.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID of the Batch job that's associated with this dependency.
sourcepub fn type(self, input: ArrayJobDependency) -> Self
pub fn type(self, input: ArrayJobDependency) -> Self
The type of the job dependency.
sourcepub fn set_type(self, input: Option<ArrayJobDependency>) -> Self
pub fn set_type(self, input: Option<ArrayJobDependency>) -> Self
The type of the job dependency.
sourcepub fn build(self) -> JobDependency
pub fn build(self) -> JobDependency
Consumes the builder and constructs a JobDependency
.