Interface GetUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUserResponse.Builder,,GetUserResponse> SdkBuilder<GetUserResponse.Builder,,GetUserResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
GetUserResponse
@Mutable
@NotThreadSafe
public static interface GetUserResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<GetUserResponse.Builder,GetUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe first name of the user.Indicates whether the user has administrator privileges in the network.lastActivity(Integer lastActivity) The timestamp of the user's last activity in the network, specified in epoch seconds.The timestamp of the user's last login to the network, specified in epoch seconds.The last name of the user.securityGroupIds(String... securityGroupIds) A list of security group IDs to which the user belongs.securityGroupIds(Collection<String> securityGroupIds) A list of security group IDs to which the user belongs.The current status of the user (1 for pending, 2 for active).Indicates whether the user is currently suspended.The unique identifier of the user.The email address or username of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
userId
The unique identifier of the user.
- Parameters:
userId- The unique identifier of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
The first name of the user.
- Parameters:
firstName- The first name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
The last name of the user.
- Parameters:
lastName- The last name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The email address or username of the user.
- Parameters:
username- The email address or username of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAdmin
Indicates whether the user has administrator privileges in the network.
- Parameters:
isAdmin- Indicates whether the user has administrator privileges in the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suspended
Indicates whether the user is currently suspended.
- Parameters:
suspended- Indicates whether the user is currently suspended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the user (1 for pending, 2 for active).
- Parameters:
status- The current status of the user (1 for pending, 2 for active).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActivity
The timestamp of the user's last activity in the network, specified in epoch seconds.
- Parameters:
lastActivity- The timestamp of the user's last activity in the network, specified in epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastLogin
The timestamp of the user's last login to the network, specified in epoch seconds.
- Parameters:
lastLogin- The timestamp of the user's last login to the network, specified in epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security group IDs to which the user belongs.
- Parameters:
securityGroupIds- A list of security group IDs to which the user belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security group IDs to which the user belongs.
- Parameters:
securityGroupIds- A list of security group IDs to which the user belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-