Interface GetClusterSessionCredentialsResponse.Builder

    • Method Detail

      • credentials

        GetClusterSessionCredentialsResponse.Builder credentials​(Credentials 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.
      • expiresAt

        GetClusterSessionCredentialsResponse.Builder expiresAt​(Instant 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.