JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class GetClusterCredentialsResult

    • Constructor Detail

      • GetClusterCredentialsResult

        public GetClusterCredentialsResult()
    • Method Detail

      • setDbUser

        public void setDbUser(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.

        Parameters:
        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.
      • getDbUser

        public String getDbUser()

        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.
      • withDbUser

        public GetClusterCredentialsResult withDbUser(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setDbPassword

        public void setDbPassword(String dbPassword)

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

        Parameters:
        dbPassword - A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.
      • getDbPassword

        public String getDbPassword()

        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.
      • withDbPassword

        public GetClusterCredentialsResult withDbPassword(String dbPassword)

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

        Parameters:
        dbPassword - A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExpiration

        public void setExpiration(Date expiration)

        The date and time the password in DbPassword expires.

        Parameters:
        expiration - The date and time the password in DbPassword expires.
      • getExpiration

        public Date getExpiration()

        The date and time the password in DbPassword expires.

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

        public GetClusterCredentialsResult withExpiration(Date expiration)

        The date and time the password in DbPassword expires.

        Parameters:
        expiration - The date and time the password in DbPassword expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /