Struct aws_sdk_emr::operation::get_cluster_session_credentials::builders::GetClusterSessionCredentialsInputBuilder
source · #[non_exhaustive]pub struct GetClusterSessionCredentialsInputBuilder { /* private fields */ }Expand description
A builder for GetClusterSessionCredentialsInput.
Implementations§
source§impl GetClusterSessionCredentialsInputBuilder
impl GetClusterSessionCredentialsInputBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The unique identifier of the cluster.
This field is required.sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The unique identifier of the cluster.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The unique identifier of the cluster.
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 runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
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 runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
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 runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
sourcepub fn build(self) -> Result<GetClusterSessionCredentialsInput, BuildError>
pub fn build(self) -> Result<GetClusterSessionCredentialsInput, BuildError>
Consumes the builder and constructs a GetClusterSessionCredentialsInput.
source§impl GetClusterSessionCredentialsInputBuilder
impl GetClusterSessionCredentialsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetClusterSessionCredentialsOutput, SdkError<GetClusterSessionCredentialsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetClusterSessionCredentialsInputBuilder
impl Clone for GetClusterSessionCredentialsInputBuilder
source§fn clone(&self) -> GetClusterSessionCredentialsInputBuilder
fn clone(&self) -> GetClusterSessionCredentialsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetClusterSessionCredentialsInputBuilder
impl Default for GetClusterSessionCredentialsInputBuilder
source§fn default() -> GetClusterSessionCredentialsInputBuilder
fn default() -> GetClusterSessionCredentialsInputBuilder
source§impl PartialEq for GetClusterSessionCredentialsInputBuilder
impl PartialEq for GetClusterSessionCredentialsInputBuilder
source§fn eq(&self, other: &GetClusterSessionCredentialsInputBuilder) -> bool
fn eq(&self, other: &GetClusterSessionCredentialsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetClusterSessionCredentialsInputBuilder
Auto Trait Implementations§
impl Freeze for GetClusterSessionCredentialsInputBuilder
impl RefUnwindSafe for GetClusterSessionCredentialsInputBuilder
impl Send for GetClusterSessionCredentialsInputBuilder
impl Sync for GetClusterSessionCredentialsInputBuilder
impl Unpin for GetClusterSessionCredentialsInputBuilder
impl UnwindSafe for GetClusterSessionCredentialsInputBuilder
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