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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetClusterSessionCredentialsOutputBuilder
impl Default for GetClusterSessionCredentialsOutputBuilder
source§fn default() -> GetClusterSessionCredentialsOutputBuilder
fn default() -> GetClusterSessionCredentialsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetClusterSessionCredentialsOutputBuilder> for GetClusterSessionCredentialsOutputBuilder
impl PartialEq<GetClusterSessionCredentialsOutputBuilder> for GetClusterSessionCredentialsOutputBuilder
source§fn eq(&self, other: &GetClusterSessionCredentialsOutputBuilder) -> bool
fn eq(&self, other: &GetClusterSessionCredentialsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetClusterSessionCredentialsOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more