Struct aws_sdk_datazone::operation::get_environment_credentials::builders::GetEnvironmentCredentialsOutputBuilder    
source · #[non_exhaustive]pub struct GetEnvironmentCredentialsOutputBuilder { /* private fields */ }Expand description
A builder for GetEnvironmentCredentialsOutput.
Implementations§
source§impl GetEnvironmentCredentialsOutputBuilder
 
impl GetEnvironmentCredentialsOutputBuilder
sourcepub fn access_key_id(self, input: impl Into<String>) -> Self
 
pub fn access_key_id(self, input: impl Into<String>) -> Self
The access key ID of the environment.
sourcepub fn set_access_key_id(self, input: Option<String>) -> Self
 
pub fn set_access_key_id(self, input: Option<String>) -> Self
The access key ID of the environment.
sourcepub fn get_access_key_id(&self) -> &Option<String>
 
pub fn get_access_key_id(&self) -> &Option<String>
The access key ID of the environment.
sourcepub fn secret_access_key(self, input: impl Into<String>) -> Self
 
pub fn secret_access_key(self, input: impl Into<String>) -> Self
The secret access key of the environment credentials.
sourcepub fn set_secret_access_key(self, input: Option<String>) -> Self
 
pub fn set_secret_access_key(self, input: Option<String>) -> Self
The secret access key of the environment credentials.
sourcepub fn get_secret_access_key(&self) -> &Option<String>
 
pub fn get_secret_access_key(&self) -> &Option<String>
The secret access key of the environment credentials.
sourcepub fn session_token(self, input: impl Into<String>) -> Self
 
pub fn session_token(self, input: impl Into<String>) -> Self
The session token of the environment credentials.
sourcepub fn set_session_token(self, input: Option<String>) -> Self
 
pub fn set_session_token(self, input: Option<String>) -> Self
The session token of the environment credentials.
sourcepub fn get_session_token(&self) -> &Option<String>
 
pub fn get_session_token(&self) -> &Option<String>
The session token of the environment credentials.
sourcepub fn expiration(self, input: DateTime) -> Self
 
pub fn expiration(self, input: DateTime) -> Self
The expiration timestamp of the environment credentials.
sourcepub fn set_expiration(self, input: Option<DateTime>) -> Self
 
pub fn set_expiration(self, input: Option<DateTime>) -> Self
The expiration timestamp of the environment credentials.
sourcepub fn get_expiration(&self) -> &Option<DateTime>
 
pub fn get_expiration(&self) -> &Option<DateTime>
The expiration timestamp of the environment credentials.
sourcepub fn build(self) -> GetEnvironmentCredentialsOutput
 
pub fn build(self) -> GetEnvironmentCredentialsOutput
Consumes the builder and constructs a GetEnvironmentCredentialsOutput.
Trait Implementations§
source§impl Clone for GetEnvironmentCredentialsOutputBuilder
 
impl Clone for GetEnvironmentCredentialsOutputBuilder
source§fn clone(&self) -> GetEnvironmentCredentialsOutputBuilder
 
fn clone(&self) -> GetEnvironmentCredentialsOutputBuilder
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 GetEnvironmentCredentialsOutputBuilder
 
impl Default for GetEnvironmentCredentialsOutputBuilder
source§fn default() -> GetEnvironmentCredentialsOutputBuilder
 
fn default() -> GetEnvironmentCredentialsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetEnvironmentCredentialsOutputBuilder
 
impl PartialEq for GetEnvironmentCredentialsOutputBuilder
source§fn eq(&self, other: &GetEnvironmentCredentialsOutputBuilder) -> bool
 
fn eq(&self, other: &GetEnvironmentCredentialsOutputBuilder) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetEnvironmentCredentialsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetEnvironmentCredentialsOutputBuilder
impl RefUnwindSafe for GetEnvironmentCredentialsOutputBuilder
impl Send for GetEnvironmentCredentialsOutputBuilder
impl Sync for GetEnvironmentCredentialsOutputBuilder
impl Unpin for GetEnvironmentCredentialsOutputBuilder
impl UnwindSafe for GetEnvironmentCredentialsOutputBuilder
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts 
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>
Converts 
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 moreCreates a shared type from an unshared type.