pub struct Builder { /* private fields */ }Expand description
A builder for GetClusterSessionCredentialsOutput.
Implementations§
source§impl Builder
impl Builder
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-based and password-based 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-based and password-based 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.