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 ==
.