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

Class CreateUserRequest

    • Constructor Detail

      • CreateUserRequest

        public CreateUserRequest()
    • Method Detail

      • setBrokerId

        public void setBrokerId(String brokerId)

        The unique ID that Amazon MQ generates for the broker.

        Parameters:
        brokerId - The unique ID that Amazon MQ generates for the broker.
      • getBrokerId

        public String getBrokerId()

        The unique ID that Amazon MQ generates for the broker.

        Returns:
        The unique ID that Amazon MQ generates for the broker.
      • withBrokerId

        public CreateUserRequest withBrokerId(String brokerId)

        The unique ID that Amazon MQ generates for the broker.

        Parameters:
        brokerId - The unique ID that Amazon MQ generates for the broker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConsoleAccess

        public void setConsoleAccess(Boolean consoleAccess)

        Enables access to the ActiveMQ Web Console for the ActiveMQ user.

        Parameters:
        consoleAccess - Enables access to the ActiveMQ Web Console for the ActiveMQ user.
      • getConsoleAccess

        public Boolean getConsoleAccess()

        Enables access to the ActiveMQ Web Console for the ActiveMQ user.

        Returns:
        Enables access to the ActiveMQ Web Console for the ActiveMQ user.
      • withConsoleAccess

        public CreateUserRequest withConsoleAccess(Boolean consoleAccess)

        Enables access to the ActiveMQ Web Console for the ActiveMQ user.

        Parameters:
        consoleAccess - Enables access to the ActiveMQ Web Console for the ActiveMQ user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isConsoleAccess

        public Boolean isConsoleAccess()

        Enables access to the ActiveMQ Web Console for the ActiveMQ user.

        Returns:
        Enables access to the ActiveMQ Web Console for the ActiveMQ user.
      • getGroups

        public List<String> getGroups()

        The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Returns:
        The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
      • setGroups

        public void setGroups(Collection<String> groups)

        The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Parameters:
        groups - The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
      • withGroups

        public CreateUserRequest withGroups(String... groups)

        The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        NOTE: This method appends the values to the existing list (if any). Use setGroups(java.util.Collection) or withGroups(java.util.Collection) if you want to override the existing values.

        Parameters:
        groups - The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withGroups

        public CreateUserRequest withGroups(Collection<String> groups)

        The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Parameters:
        groups - The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPassword

        public void setPassword(String password)

        Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

        Parameters:
        password - Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
      • getPassword

        public String getPassword()

        Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

        Returns:
        Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
      • withPassword

        public CreateUserRequest withPassword(String password)

        Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

        Parameters:
        password - Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUsername

        public void setUsername(String username)

        The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Parameters:
        username - The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
      • getUsername

        public String getUsername()

        The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Returns:
        The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
      • withUsername

        public CreateUserRequest withUsername(String username)

        The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

        Parameters:
        username - The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReplicationUser

        public void setReplicationUser(Boolean replicationUser)

        Defines if this user is intended for CRDR replication purposes.

        Parameters:
        replicationUser - Defines if this user is intended for CRDR replication purposes.
      • getReplicationUser

        public Boolean getReplicationUser()

        Defines if this user is intended for CRDR replication purposes.

        Returns:
        Defines if this user is intended for CRDR replication purposes.
      • withReplicationUser

        public CreateUserRequest withReplicationUser(Boolean replicationUser)

        Defines if this user is intended for CRDR replication purposes.

        Parameters:
        replicationUser - Defines if this user is intended for CRDR replication purposes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isReplicationUser

        public Boolean isReplicationUser()

        Defines if this user is intended for CRDR replication purposes.

        Returns:
        Defines if this user is intended for CRDR replication purposes.
      • 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 によって変換されたページ (->オリジナル) /