Struct aws_sdk_batch::operation::register_job_definition::builders::RegisterJobDefinitionOutputBuilder
source · #[non_exhaustive]pub struct RegisterJobDefinitionOutputBuilder { /* private fields */ }Expand description
A builder for RegisterJobDefinitionOutput.
Implementations§
source§impl RegisterJobDefinitionOutputBuilder
impl RegisterJobDefinitionOutputBuilder
sourcepub fn job_definition_name(self, input: impl Into<String>) -> Self
pub fn job_definition_name(self, input: impl Into<String>) -> Self
The name of the job definition.
This field is required.sourcepub fn set_job_definition_name(self, input: Option<String>) -> Self
pub fn set_job_definition_name(self, input: Option<String>) -> Self
The name of the job definition.
sourcepub fn get_job_definition_name(&self) -> &Option<String>
pub fn get_job_definition_name(&self) -> &Option<String>
The name of the job definition.
sourcepub fn job_definition_arn(self, input: impl Into<String>) -> Self
pub fn job_definition_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the job definition.
This field is required.sourcepub fn set_job_definition_arn(self, input: Option<String>) -> Self
pub fn set_job_definition_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the job definition.
sourcepub fn get_job_definition_arn(&self) -> &Option<String>
pub fn get_job_definition_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the job definition.
sourcepub fn revision(self, input: i32) -> Self
pub fn revision(self, input: i32) -> Self
The revision of the job definition.
This field is required.sourcepub fn set_revision(self, input: Option<i32>) -> Self
pub fn set_revision(self, input: Option<i32>) -> Self
The revision of the job definition.
sourcepub fn get_revision(&self) -> &Option<i32>
pub fn get_revision(&self) -> &Option<i32>
The revision of the job definition.
sourcepub fn build(self) -> RegisterJobDefinitionOutput
pub fn build(self) -> RegisterJobDefinitionOutput
Consumes the builder and constructs a RegisterJobDefinitionOutput.
Trait Implementations§
source§impl Clone for RegisterJobDefinitionOutputBuilder
impl Clone for RegisterJobDefinitionOutputBuilder
source§fn clone(&self) -> RegisterJobDefinitionOutputBuilder
fn clone(&self) -> RegisterJobDefinitionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for RegisterJobDefinitionOutputBuilder
impl Default for RegisterJobDefinitionOutputBuilder
source§fn default() -> RegisterJobDefinitionOutputBuilder
fn default() -> RegisterJobDefinitionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RegisterJobDefinitionOutputBuilder
impl PartialEq for RegisterJobDefinitionOutputBuilder
source§fn eq(&self, other: &RegisterJobDefinitionOutputBuilder) -> bool
fn eq(&self, other: &RegisterJobDefinitionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterJobDefinitionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RegisterJobDefinitionOutputBuilder
impl Send for RegisterJobDefinitionOutputBuilder
impl Sync for RegisterJobDefinitionOutputBuilder
impl Unpin for RegisterJobDefinitionOutputBuilder
impl UnwindSafe for RegisterJobDefinitionOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.