Interface GetCredentialsRequest.Builder

    • Method Detail

      • customDomainName

        GetCredentialsRequest.Builder customDomainName​(String customDomainName)

        The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.

        Parameters:
        customDomainName - The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbName

        GetCredentialsRequest.Builder dbName​(String dbName)

        The name of the database to get temporary authorization to log on to.

        Constraints:

        • Must be 1 to 64 alphanumeric characters or hyphens.

        • Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

        • The first character must be a letter.

        • Must not contain a colon ( : ) or slash ( / ).

        • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide

        Parameters:
        dbName - The name of the database to get temporary authorization to log on to.

        Constraints:

        • Must be 1 to 64 alphanumeric characters or hyphens.

        • Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.

        • The first character must be a letter.

        • Must not contain a colon ( : ) or slash ( / ).

        • Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationSeconds

        GetCredentialsRequest.Builder durationSeconds​(Integer durationSeconds)

        The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.

        Parameters:
        durationSeconds - The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workgroupName

        GetCredentialsRequest.Builder workgroupName​(String workgroupName)

        The name of the workgroup associated with the database.

        Parameters:
        workgroupName - The name of the workgroup associated with the database.
        Returns:
        Returns a reference to this object so that method calls can be chained together.