Struct aws_sdk_emr::output::add_instance_groups_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AddInstanceGroupsOutput.
Implementations§
source§impl 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
The job flow ID in which the instance groups are added.
sourcepub fn set_job_flow_id(self, input: Option<String>) -> Self
pub fn set_job_flow_id(self, input: Option<String>) -> Self
The job flow ID in which the instance groups are added.
sourcepub fn instance_group_ids(self, input: impl Into<String>) -> Self
pub fn instance_group_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_group_ids.
To override the contents of this collection use set_instance_group_ids.
Instance group IDs of the newly created instance groups.
sourcepub fn set_instance_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_group_ids(self, input: Option<Vec<String>>) -> Self
Instance group IDs of the newly created instance groups.
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn build(self) -> AddInstanceGroupsOutput
pub fn build(self) -> AddInstanceGroupsOutput
Consumes the builder and constructs a AddInstanceGroupsOutput.