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 ==
.impl StructuralPartialEq for GetClusterSessionCredentialsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetClusterSessionCredentialsOutputBuilder
impl RefUnwindSafe for GetClusterSessionCredentialsOutputBuilder
impl Send for GetClusterSessionCredentialsOutputBuilder
impl Sync for GetClusterSessionCredentialsOutputBuilder
impl Unpin for GetClusterSessionCredentialsOutputBuilder
impl UnwindSafe for GetClusterSessionCredentialsOutputBuilder
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