Struct aws_sdk_emr::operation::get_cluster_session_credentials::builders::GetClusterSessionCredentialsOutputBuilder
source · #[non_exhaustive]pub struct GetClusterSessionCredentialsOutputBuilder { /* private fields */ }
Expand description
A builder for GetClusterSessionCredentialsOutput
.
Implementations§
source§impl GetClusterSessionCredentialsOutputBuilder
impl GetClusterSessionCredentialsOutputBuilder
sourcepub fn credentials(self, input: Credentials) -> Self
pub fn credentials(self, input: Credentials) -> Self
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
sourcepub fn set_credentials(self, input: Option<Credentials>) -> Self
pub fn set_credentials(self, input: Option<Credentials>) -> Self
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
sourcepub fn get_credentials(&self) -> &Option<Credentials>
pub fn get_credentials(&self) -> &Option<Credentials>
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
sourcepub fn expires_at(self, input: DateTime) -> Self
pub fn expires_at(self, input: DateTime) -> Self
The time when the credentials that are returned by the GetClusterSessionCredentials
API expire.
sourcepub fn set_expires_at(self, input: Option<DateTime>) -> Self
pub fn set_expires_at(self, input: Option<DateTime>) -> Self
The time when the credentials that are returned by the GetClusterSessionCredentials
API expire.
sourcepub fn get_expires_at(&self) -> &Option<DateTime>
pub fn get_expires_at(&self) -> &Option<DateTime>
The time when the credentials that are returned by the GetClusterSessionCredentials
API expire.
sourcepub fn build(self) -> GetClusterSessionCredentialsOutput
pub fn build(self) -> GetClusterSessionCredentialsOutput
Consumes the builder and constructs a GetClusterSessionCredentialsOutput
.
Trait Implementations§
source§impl Clone for GetClusterSessionCredentialsOutputBuilder
impl Clone for GetClusterSessionCredentialsOutputBuilder
source§fn clone(&self) -> GetClusterSessionCredentialsOutputBuilder
fn clone(&self) -> GetClusterSessionCredentialsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetClusterSessionCredentialsOutputBuilder
impl Default for GetClusterSessionCredentialsOutputBuilder
source§fn default() -> GetClusterSessionCredentialsOutputBuilder
fn default() -> GetClusterSessionCredentialsOutputBuilder
source§impl PartialEq for GetClusterSessionCredentialsOutputBuilder
impl PartialEq for GetClusterSessionCredentialsOutputBuilder
source§fn eq(&self, other: &GetClusterSessionCredentialsOutputBuilder) -> bool
fn eq(&self, other: &GetClusterSessionCredentialsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.