Struct aws_sdk_batch::model::job_dependency::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for JobDependency.
Implementations
sourceimpl 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 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 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.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more