JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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

Class Credentials

    • Constructor Detail

      • Credentials

        public Credentials()
    • Method Detail

      • setUsername

        public void setUsername(String username)

        Specifies the user name for your storage system's management interface.

        Parameters:
        username - Specifies the user name for your storage system's management interface.
      • getUsername

        public String getUsername()

        Specifies the user name for your storage system's management interface.

        Returns:
        Specifies the user name for your storage system's management interface.
      • withUsername

        public Credentials withUsername(String username)

        Specifies the user name for your storage system's management interface.

        Parameters:
        username - Specifies the user name for your storage system's management interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPassword

        public void setPassword(String password)

        Specifies the password for your storage system's management interface.

        Parameters:
        password - Specifies the password for your storage system's management interface.
      • getPassword

        public String getPassword()

        Specifies the password for your storage system's management interface.

        Returns:
        Specifies the password for your storage system's management interface.
      • withPassword

        public Credentials withPassword(String password)

        Specifies the password for your storage system's management interface.

        Parameters:
        password - Specifies the password for your storage system's management interface.
        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 によって変換されたページ (->オリジナル) /