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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeUserResponse.BuilderbrokerId(String brokerId)Required.DescribeUserResponse.BuilderconsoleAccess(Boolean consoleAccess)Enables access to the the ActiveMQ Web Console for the ActiveMQ user.DescribeUserResponse.Buildergroups(String... groups)The list of groups (20 maximum) to which the ActiveMQ user belongs.DescribeUserResponse.Buildergroups(Collection<String> groups)The list of groups (20 maximum) to which the ActiveMQ user belongs.default DescribeUserResponse.Builderpending(Consumer<UserPendingChanges.Builder> pending)The status of the changes pending for the ActiveMQ user.DescribeUserResponse.Builderpending(UserPendingChanges pending)The status of the changes pending for the ActiveMQ user.DescribeUserResponse.BuilderreplicationUser(Boolean replicationUser)Describes whether the user is intended for data replicationDescribeUserResponse.Builderusername(String username)Required.-
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 Detail
-
brokerId
DescribeUserResponse.Builder brokerId(String 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
DescribeUserResponse.Builder groups(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.
-
groups
DescribeUserResponse.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.
-
pending
DescribeUserResponse.Builder pending(UserPendingChanges 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
default DescribeUserResponse.Builder pending(Consumer<UserPendingChanges.Builder> pending)
The status of the changes pending for the ActiveMQ user.
This is a convenience method that creates an instance of theUserPendingChanges.Builderavoiding the need to create one manually viaUserPendingChanges.builder().When the
Consumercompletes,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:
pending(UserPendingChanges)
-
username
DescribeUserResponse.Builder username(String 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.
-
-