Struct aws_sdk_emr::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersInputBuilder
source · #[non_exhaustive]pub struct SetVisibleToAllUsersInputBuilder { /* private fields */ }Expand description
A builder for SetVisibleToAllUsersInput.
Implementations§
source§impl SetVisibleToAllUsersInputBuilder
impl SetVisibleToAllUsersInputBuilder
sourcepub fn job_flow_ids(self, input: impl Into<String>) -> Self
pub fn job_flow_ids(self, input: impl Into<String>) -> Self
Appends an item to job_flow_ids.
To override the contents of this collection use set_job_flow_ids.
The unique identifier of the job flow (cluster).
sourcepub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
The unique identifier of the job flow (cluster).
sourcepub fn visible_to_all_users(self, input: bool) -> Self
pub fn visible_to_all_users(self, input: bool) -> Self
A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.
sourcepub fn set_visible_to_all_users(self, input: Option<bool>) -> Self
pub fn set_visible_to_all_users(self, input: Option<bool>) -> Self
A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.
sourcepub fn build(self) -> Result<SetVisibleToAllUsersInput, BuildError>
pub fn build(self) -> Result<SetVisibleToAllUsersInput, BuildError>
Consumes the builder and constructs a SetVisibleToAllUsersInput.
Trait Implementations§
source§impl Clone for SetVisibleToAllUsersInputBuilder
impl Clone for SetVisibleToAllUsersInputBuilder
source§fn clone(&self) -> SetVisibleToAllUsersInputBuilder
fn clone(&self) -> SetVisibleToAllUsersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SetVisibleToAllUsersInputBuilder
impl Default for SetVisibleToAllUsersInputBuilder
source§fn default() -> SetVisibleToAllUsersInputBuilder
fn default() -> SetVisibleToAllUsersInputBuilder
source§impl PartialEq<SetVisibleToAllUsersInputBuilder> for SetVisibleToAllUsersInputBuilder
impl PartialEq<SetVisibleToAllUsersInputBuilder> for SetVisibleToAllUsersInputBuilder
source§fn eq(&self, other: &SetVisibleToAllUsersInputBuilder) -> bool
fn eq(&self, other: &SetVisibleToAllUsersInputBuilder) -> bool
self and other values to be equal, and is used
by ==.