#[non_exhaustive]pub struct EmrServerlessComputeConfigBuilder { /* private fields */ }
Expand description
A builder for EmrServerlessComputeConfig
.
Implementations§
source§impl EmrServerlessComputeConfigBuilder
impl EmrServerlessComputeConfigBuilder
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role granting the AutoML job V2 the necessary permissions access policies to list, connect to, or manage EMR Serverless jobs. For detailed information about the required permissions of this role, see "How to configure AutoML to initiate a remote job on EMR Serverless for large datasets" in Create a regression or classification job for tabular data using the AutoML API or Create an AutoML job for time-series forecasting using the API.
This field is required.sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role granting the AutoML job V2 the necessary permissions access policies to list, connect to, or manage EMR Serverless jobs. For detailed information about the required permissions of this role, see "How to configure AutoML to initiate a remote job on EMR Serverless for large datasets" in Create a regression or classification job for tabular data using the AutoML API or Create an AutoML job for time-series forecasting using the API.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The ARN of the IAM role granting the AutoML job V2 the necessary permissions access policies to list, connect to, or manage EMR Serverless jobs. For detailed information about the required permissions of this role, see "How to configure AutoML to initiate a remote job on EMR Serverless for large datasets" in Create a regression or classification job for tabular data using the AutoML API or Create an AutoML job for time-series forecasting using the API.
sourcepub fn build(self) -> EmrServerlessComputeConfig
pub fn build(self) -> EmrServerlessComputeConfig
Consumes the builder and constructs a EmrServerlessComputeConfig
.
Trait Implementations§
source§impl Clone for EmrServerlessComputeConfigBuilder
impl Clone for EmrServerlessComputeConfigBuilder
source§fn clone(&self) -> EmrServerlessComputeConfigBuilder
fn clone(&self) -> EmrServerlessComputeConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EmrServerlessComputeConfigBuilder
impl Default for EmrServerlessComputeConfigBuilder
source§fn default() -> EmrServerlessComputeConfigBuilder
fn default() -> EmrServerlessComputeConfigBuilder
source§impl PartialEq for EmrServerlessComputeConfigBuilder
impl PartialEq for EmrServerlessComputeConfigBuilder
source§fn eq(&self, other: &EmrServerlessComputeConfigBuilder) -> bool
fn eq(&self, other: &EmrServerlessComputeConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EmrServerlessComputeConfigBuilder
Auto Trait Implementations§
impl Freeze for EmrServerlessComputeConfigBuilder
impl RefUnwindSafe for EmrServerlessComputeConfigBuilder
impl Send for EmrServerlessComputeConfigBuilder
impl Sync for EmrServerlessComputeConfigBuilder
impl Unpin for EmrServerlessComputeConfigBuilder
impl UnwindSafe for EmrServerlessComputeConfigBuilder
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