Class GetClusterCredentialsResponse

    • Method Detail

      • dbUser

        public final String dbUser()

        A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

        Returns:
        A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.
      • dbPassword

        public final String dbPassword()

        A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

        Returns:
        A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.
      • expiration

        public final Instant expiration()

        The date and time the password in DbPassword expires.

        Returns:
        The date and time the password in DbPassword expires.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object