Struct aws_sdk_sagemaker::types::builders::EmrSettingsBuilder
source · #[non_exhaustive]pub struct EmrSettingsBuilder { /* private fields */ }
Expand description
A builder for EmrSettings
.
Implementations§
source§impl EmrSettingsBuilder
impl EmrSettingsBuilder
sourcepub fn assumable_role_arns(self, input: impl Into<String>) -> Self
pub fn assumable_role_arns(self, input: impl Into<String>) -> Self
Appends an item to assumable_role_arns
.
To override the contents of this collection use set_assumable_role_arns
.
An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different Amazon Web Services account than the SageMaker domain.
sourcepub fn set_assumable_role_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_assumable_role_arns(self, input: Option<Vec<String>>) -> Self
An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different Amazon Web Services account than the SageMaker domain.
sourcepub fn get_assumable_role_arns(&self) -> &Option<Vec<String>>
pub fn get_assumable_role_arns(&self) -> &Option<Vec<String>>
An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different Amazon Web Services account than the SageMaker domain.
sourcepub fn execution_role_arns(self, input: impl Into<String>) -> Self
pub fn execution_role_arns(self, input: impl Into<String>) -> Self
Appends an item to execution_role_arns
.
To override the contents of this collection use set_execution_role_arns
.
An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other Amazon Web Services services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other Amazon Web Services services based on the particular workload requirements.
sourcepub fn set_execution_role_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_execution_role_arns(self, input: Option<Vec<String>>) -> Self
An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other Amazon Web Services services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other Amazon Web Services services based on the particular workload requirements.
sourcepub fn get_execution_role_arns(&self) -> &Option<Vec<String>>
pub fn get_execution_role_arns(&self) -> &Option<Vec<String>>
An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other Amazon Web Services services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other Amazon Web Services services based on the particular workload requirements.
sourcepub fn build(self) -> EmrSettings
pub fn build(self) -> EmrSettings
Consumes the builder and constructs a EmrSettings
.
Trait Implementations§
source§impl Clone for EmrSettingsBuilder
impl Clone for EmrSettingsBuilder
source§fn clone(&self) -> EmrSettingsBuilder
fn clone(&self) -> EmrSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmrSettingsBuilder
impl Debug for EmrSettingsBuilder
source§impl Default for EmrSettingsBuilder
impl Default for EmrSettingsBuilder
source§fn default() -> EmrSettingsBuilder
fn default() -> EmrSettingsBuilder
source§impl PartialEq for EmrSettingsBuilder
impl PartialEq for EmrSettingsBuilder
impl StructuralPartialEq for EmrSettingsBuilder
Auto Trait Implementations§
impl Freeze for EmrSettingsBuilder
impl RefUnwindSafe for EmrSettingsBuilder
impl Send for EmrSettingsBuilder
impl Sync for EmrSettingsBuilder
impl Unpin for EmrSettingsBuilder
impl UnwindSafe for EmrSettingsBuilder
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