Interface DescribeUserResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeUserResponse.Builder,DescribeUserResponse>, MqResponse.Builder, SdkBuilder<DescribeUserResponse.Builder,DescribeUserResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeUserResponse

public static interface DescribeUserResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<DescribeUserResponse.Builder,DescribeUserResponse>
  • Method Details

    • brokerId

      Required. The unique ID that Amazon MQ generates for the broker.

      Parameters:
      brokerId - Required. 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

      DescribeUserResponse.Builder consoleAccess(Boolean consoleAccess)

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

      Parameters:
      consoleAccess - Enables access to the 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

      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.
    • pending

      The status of the changes pending for the ActiveMQ user.

      Parameters:
      pending - The status of the changes pending for the ActiveMQ user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pending

      The status of the changes pending for the ActiveMQ user.

      This is a convenience method that creates an instance of the UserPendingChanges.Builder avoiding the need to create one manually via UserPendingChanges.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pending(UserPendingChanges).

      Parameters:
      pending - a consumer that will call methods on UserPendingChanges.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • username

      Required. 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 - Required. 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

      DescribeUserResponse.Builder replicationUser(Boolean replicationUser)

      Describes whether the user is intended for data replication

      Parameters:
      replicationUser - Describes whether the user is intended for data replication
      Returns:
      Returns a reference to this object so that method calls can be chained together.