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 GetClusterCredentialsWithIAMRequest

    • Constructor Detail

      • GetClusterCredentialsWithIAMRequest

        public GetClusterCredentialsWithIAMRequest()
    • Method Detail

      • setDbName

        public void setDbName(String dbName)

        The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.

        Parameters:
        dbName - The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.
      • getDbName

        public String getDbName()

        The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.

        Returns:
        The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.
      • withDbName

        public GetClusterCredentialsWithIAMRequest withDbName(String dbName)

        The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.

        Parameters:
        dbName - The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClusterIdentifier

        public void setClusterIdentifier(String clusterIdentifier)

        The unique identifier of the cluster that contains the database for which you are requesting credentials.

        Parameters:
        clusterIdentifier - The unique identifier of the cluster that contains the database for which you are requesting credentials.
      • getClusterIdentifier

        public String getClusterIdentifier()

        The unique identifier of the cluster that contains the database for which you are requesting credentials.

        Returns:
        The unique identifier of the cluster that contains the database for which you are requesting credentials.
      • withClusterIdentifier

        public GetClusterCredentialsWithIAMRequest withClusterIdentifier(String clusterIdentifier)

        The unique identifier of the cluster that contains the database for which you are requesting credentials.

        Parameters:
        clusterIdentifier - The unique identifier of the cluster that contains the database for which you are requesting credentials.
        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.

        Range: 900-3600. Default: 900.

        Parameters:
        durationSeconds - The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

      • getDurationSeconds

        public Integer getDurationSeconds()

        The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

        Returns:
        The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

      • withDurationSeconds

        public GetClusterCredentialsWithIAMRequest withDurationSeconds(Integer durationSeconds)

        The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

        Parameters:
        durationSeconds - The number of seconds until the returned temporary password expires.

        Range: 900-3600. Default: 900.

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

        public void setCustomDomainName(String customDomainName)

        The custom domain name for the IAM message cluster credentials.

        Parameters:
        customDomainName - The custom domain name for the IAM message cluster credentials.
      • getCustomDomainName

        public String getCustomDomainName()

        The custom domain name for the IAM message cluster credentials.

        Returns:
        The custom domain name for the IAM message cluster credentials.
      • withCustomDomainName

        public GetClusterCredentialsWithIAMRequest withCustomDomainName(String customDomainName)

        The custom domain name for the IAM message cluster credentials.

        Parameters:
        customDomainName - The custom domain name for the IAM message cluster credentials.
        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 によって変換されたページ (->オリジナル) /