Interface DescribeUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUserResponse.Builder,
,DescribeUserResponse> MqResponse.Builder
,SdkBuilder<DescribeUserResponse.Builder,
,DescribeUserResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeUserResponse
-
Method Summary
Modifier and TypeMethodDescriptionRequired.consoleAccess
(Boolean consoleAccess) Enables access to the the ActiveMQ Web Console for the ActiveMQ user.The list of groups (20 maximum) to which the ActiveMQ user belongs.groups
(Collection<String> groups) The list of groups (20 maximum) to which the ActiveMQ user belongs.default DescribeUserResponse.Builder
pending
(Consumer<UserPendingChanges.Builder> pending) The status of the changes pending for the ActiveMQ user.pending
(UserPendingChanges pending) The status of the changes pending for the ActiveMQ user.replicationUser
(Boolean replicationUser) Describes whether the user is intended for data replicationRequired.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theUserPendingChanges.Builder
avoiding the need to create one manually viaUserPendingChanges.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topending(UserPendingChanges)
.- Parameters:
pending
- a consumer that will call methods onUserPendingChanges.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
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.
-