Interface GetClusterSessionCredentialsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetClusterSessionCredentialsResponse.Builder,GetClusterSessionCredentialsResponse>, EmrResponse.Builder, SdkBuilder<GetClusterSessionCredentialsResponse.Builder,GetClusterSessionCredentialsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetClusterSessionCredentialsResponse

public static interface GetClusterSessionCredentialsResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetClusterSessionCredentialsResponse.Builder,GetClusterSessionCredentialsResponse>
  • Method Details

    • credentials

      The credentials that you can use to connect to cluster endpoints that support username and password authentication.

      Parameters:
      credentials - The credentials that you can use to connect to cluster endpoints that support username and password authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the Credentials.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).

      Parameters:
      credentials - a consumer that will call methods on Credentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expiresAt

      The time when the credentials that are returned by the GetClusterSessionCredentials API expire.

      Parameters:
      expiresAt - The time when the credentials that are returned by the GetClusterSessionCredentials API expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.