Struct aws_sdk_emr::input::add_job_flow_steps_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AddJobFlowStepsInput.
Implementations
sourceimpl Builder
impl Builder
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 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 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 build(self) -> Result<AddJobFlowStepsInput, BuildError>
pub fn build(self) -> Result<AddJobFlowStepsInput, BuildError>
Consumes the builder and constructs a AddJobFlowStepsInput.