Interface CreateUserRequest.Builder

  • Method Details

    • brokerId

      CreateUserRequest.Builder brokerId(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.
    • consoleAccess

      CreateUserRequest.Builder consoleAccess(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.
    • 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.
    • groups

      CreateUserRequest.Builder groups(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.
    • password

      CreateUserRequest.Builder password(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.
    • username

      CreateUserRequest.Builder username(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.
    • replicationUser

      CreateUserRequest.Builder replicationUser(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.
    • overrideConfiguration

      CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.