#[non_exhaustive]pub struct EmrServerlessSettingsBuilder { /* private fields */ }
Expand description
A builder for EmrServerlessSettings
.
Implementations§
source§impl EmrServerlessSettingsBuilder
impl EmrServerlessSettingsBuilder
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 Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
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 Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
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 Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
sourcepub fn status(self, input: FeatureStatus) -> Self
pub fn status(self, input: FeatureStatus) -> Self
Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.
sourcepub fn set_status(self, input: Option<FeatureStatus>) -> Self
pub fn set_status(self, input: Option<FeatureStatus>) -> Self
Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.
sourcepub fn get_status(&self) -> &Option<FeatureStatus>
pub fn get_status(&self) -> &Option<FeatureStatus>
Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.
sourcepub fn build(self) -> EmrServerlessSettings
pub fn build(self) -> EmrServerlessSettings
Consumes the builder and constructs a EmrServerlessSettings
.
Trait Implementations§
source§impl Clone for EmrServerlessSettingsBuilder
impl Clone for EmrServerlessSettingsBuilder
source§fn clone(&self) -> EmrServerlessSettingsBuilder
fn clone(&self) -> EmrServerlessSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmrServerlessSettingsBuilder
impl Debug for EmrServerlessSettingsBuilder
source§impl Default for EmrServerlessSettingsBuilder
impl Default for EmrServerlessSettingsBuilder
source§fn default() -> EmrServerlessSettingsBuilder
fn default() -> EmrServerlessSettingsBuilder
source§impl PartialEq for EmrServerlessSettingsBuilder
impl PartialEq for EmrServerlessSettingsBuilder
source§fn eq(&self, other: &EmrServerlessSettingsBuilder) -> bool
fn eq(&self, other: &EmrServerlessSettingsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EmrServerlessSettingsBuilder
Auto Trait Implementations§
impl Freeze for EmrServerlessSettingsBuilder
impl RefUnwindSafe for EmrServerlessSettingsBuilder
impl Send for EmrServerlessSettingsBuilder
impl Sync for EmrServerlessSettingsBuilder
impl Unpin for EmrServerlessSettingsBuilder
impl UnwindSafe for EmrServerlessSettingsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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