public static interface GetClusterSessionCredentialsResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetClusterSessionCredentialsResponse.Builder,GetClusterSessionCredentialsResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetClusterSessionCredentialsResponse.Builder |
credentials(Consumer<Credentials.Builder> credentials)
The credentials that you can use to connect to cluster endpoints that support username and password
authentication.
|
GetClusterSessionCredentialsResponse.Builder |
credentials(Credentials credentials)
The credentials that you can use to connect to cluster endpoints that support username and password
authentication.
|
GetClusterSessionCredentialsResponse.Builder |
expiresAt(Instant expiresAt)
The time when the credentials that are returned by the
GetClusterSessionCredentials API expire. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetClusterSessionCredentialsResponse.Builder credentials(Credentials credentials)
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
credentials - The credentials that you can use to connect to cluster endpoints that support username and password
authentication.default GetClusterSessionCredentialsResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The credentials that you can use to connect to cluster endpoints that support username and password authentication.
This is a convenience method that creates an instance of theCredentials.Builder avoiding the need to
create one manually via Credentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to credentials(Credentials).
credentials - a consumer that will call methods on Credentials.Buildercredentials(Credentials)GetClusterSessionCredentialsResponse.Builder expiresAt(Instant expiresAt)
The time when the credentials that are returned by the GetClusterSessionCredentials API expire.
expiresAt - The time when the credentials that are returned by the GetClusterSessionCredentials API
expire.Copyright © 2023. All rights reserved.