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 get_job_flow_ids(&self) -> &Option<Vec<String>>
pub fn get_job_flow_ids(&self) -> &Option<Vec<String>>
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 Amazon 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 Amazon 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 Amazon 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 Amazon EMR actions on the cluster.
sourcepub fn get_visible_to_all_users(&self) -> &Option<bool>
pub fn get_visible_to_all_users(&self) -> &Option<bool>
A value of true indicates that an IAM principal in the Amazon Web Services account can perform Amazon 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 Amazon 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.
source§impl SetVisibleToAllUsersInputBuilder
impl SetVisibleToAllUsersInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SetVisibleToAllUsersOutput, SdkError<SetVisibleToAllUsersError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SetVisibleToAllUsersOutput, SdkError<SetVisibleToAllUsersError, HttpResponse>>
Sends a request with this input using the given client.
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 for SetVisibleToAllUsersInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for SetVisibleToAllUsersInputBuilder
Auto Trait Implementations§
impl Freeze for SetVisibleToAllUsersInputBuilder
impl RefUnwindSafe for SetVisibleToAllUsersInputBuilder
impl Send for SetVisibleToAllUsersInputBuilder
impl Sync for SetVisibleToAllUsersInputBuilder
impl Unpin for SetVisibleToAllUsersInputBuilder
impl UnwindSafe for SetVisibleToAllUsersInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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