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.redshiftserverless.model

Class GetCredentialsRequest

    • Constructor Detail

      • GetCredentialsRequest

        public GetCredentialsRequest()
    • Method Detail

      • setCustomDomainName

        public void setCustomDomainName(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.
      • getCustomDomainName

        public String getCustomDomainName()

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

        Returns:
        The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.
      • withCustomDomainName

        public GetCredentialsRequest withCustomDomainName(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.
      • setDbName

        public void setDbName(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

      • getDbName

        public String getDbName()

        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:
        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

      • withDbName

        public GetCredentialsRequest withDbName(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.
      • setDurationSeconds

        public void setDurationSeconds(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.
      • getDurationSeconds

        public Integer getDurationSeconds()

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

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

        public GetCredentialsRequest withDurationSeconds(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.
      • setWorkgroupName

        public void setWorkgroupName(String workgroupName)

        The name of the workgroup associated with the database.

        Parameters:
        workgroupName - The name of the workgroup associated with the database.
      • getWorkgroupName

        public String getWorkgroupName()

        The name of the workgroup associated with the database.

        Returns:
        The name of the workgroup associated with the database.
      • withWorkgroupName

        public GetCredentialsRequest withWorkgroupName(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.
      • 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 によって変換されたページ (->オリジナル) /