#[non_exhaustive]pub struct AddJobFlowStepsInputBuilder { /* private fields */ }
Expand description
A builder for AddJobFlowStepsInput
.
Implementations§
source§impl AddJobFlowStepsInputBuilder
impl AddJobFlowStepsInputBuilder
sourcepub fn job_flow_id(self, input: impl Into<String>) -> Self
pub fn job_flow_id(self, input: impl Into<String>) -> Self
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow
and can also be obtained from ListClusters
.
sourcepub fn set_job_flow_id(self, input: Option<String>) -> Self
pub fn set_job_flow_id(self, input: Option<String>) -> Self
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow
and can also be obtained from ListClusters
.
sourcepub fn get_job_flow_id(&self) -> &Option<String>
pub fn get_job_flow_id(&self) -> &Option<String>
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow
and can also be obtained from ListClusters
.
sourcepub fn steps(self, input: StepConfig) -> Self
pub fn steps(self, input: StepConfig) -> Self
Appends an item to steps
.
To override the contents of this collection use set_steps
.
A list of StepConfig
to be executed by the job flow.
sourcepub fn set_steps(self, input: Option<Vec<StepConfig>>) -> Self
pub fn set_steps(self, input: Option<Vec<StepConfig>>) -> Self
A list of StepConfig
to be executed by the job flow.
sourcepub fn get_steps(&self) -> &Option<Vec<StepConfig>>
pub fn get_steps(&self) -> &Option<Vec<StepConfig>>
A list of StepConfig
to be executed by the job flow.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
sourcepub fn build(self) -> Result<AddJobFlowStepsInput, BuildError>
pub fn build(self) -> Result<AddJobFlowStepsInput, BuildError>
Consumes the builder and constructs a AddJobFlowStepsInput
.
source§impl AddJobFlowStepsInputBuilder
impl AddJobFlowStepsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddJobFlowStepsOutput, SdkError<AddJobFlowStepsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddJobFlowStepsOutput, SdkError<AddJobFlowStepsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddJobFlowStepsInputBuilder
impl Clone for AddJobFlowStepsInputBuilder
source§fn clone(&self) -> AddJobFlowStepsInputBuilder
fn clone(&self) -> AddJobFlowStepsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddJobFlowStepsInputBuilder
impl Debug for AddJobFlowStepsInputBuilder
source§impl Default for AddJobFlowStepsInputBuilder
impl Default for AddJobFlowStepsInputBuilder
source§fn default() -> AddJobFlowStepsInputBuilder
fn default() -> AddJobFlowStepsInputBuilder
source§impl PartialEq for AddJobFlowStepsInputBuilder
impl PartialEq for AddJobFlowStepsInputBuilder
source§fn eq(&self, other: &AddJobFlowStepsInputBuilder) -> bool
fn eq(&self, other: &AddJobFlowStepsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddJobFlowStepsInputBuilder
Auto Trait Implementations§
impl Freeze for AddJobFlowStepsInputBuilder
impl RefUnwindSafe for AddJobFlowStepsInputBuilder
impl Send for AddJobFlowStepsInputBuilder
impl Sync for AddJobFlowStepsInputBuilder
impl Unpin for AddJobFlowStepsInputBuilder
impl UnwindSafe for AddJobFlowStepsInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more