public static interface GetManagedEndpointSessionCredentialsResponse.Builder extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<GetManagedEndpointSessionCredentialsResponse.Builder,GetManagedEndpointSessionCredentialsResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetManagedEndpointSessionCredentialsResponse.Builder |
credentials(Consumer<Credentials.Builder> credentials)
The structure containing the session credentials.
|
GetManagedEndpointSessionCredentialsResponse.Builder |
credentials(Credentials credentials)
The structure containing the session credentials.
|
GetManagedEndpointSessionCredentialsResponse.Builder |
expiresAt(Instant expiresAt)
The date and time when the session token will expire.
|
GetManagedEndpointSessionCredentialsResponse.Builder |
id(String id)
The identifier of the session token returned.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetManagedEndpointSessionCredentialsResponse.Builder id(String id)
The identifier of the session token returned.
id - The identifier of the session token returned.GetManagedEndpointSessionCredentialsResponse.Builder credentials(Credentials credentials)
The structure containing the session credentials.
credentials - The structure containing the session credentials.default GetManagedEndpointSessionCredentialsResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The structure containing the session credentials.
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)GetManagedEndpointSessionCredentialsResponse.Builder expiresAt(Instant expiresAt)
The date and time when the session token will expire.
expiresAt - The date and time when the session token will expire.Copyright © 2023. All rights reserved.