UserProps
Properties for defining a User.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-user
Initializer
import com.aliyun.ros.cdk.cloudsso.UserProps;
UserProps.builder()
.directoryId(java.lang.String)
.directoryId(IResolvable)
.userName(java.lang.String)
.userName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .displayName(java.lang.String)
// .displayName(IResolvable)
// .email(java.lang.String)
// .email(IResolvable)
// .firstName(java.lang.String)
// .firstName(IResolvable)
// .lastName(java.lang.String)
// .lastName(IResolvable)
// .status(java.lang.String)
// .status(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
directoryId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property directoryId: The ID of the directory. |
userName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property userName: The name of the user. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the user. |
displayName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property displayName: The display name of the user. |
email |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property email: The email address of the user. |
firstName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property firstName: The first name of the user. |
lastName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property lastName: The last name of the user. |
status |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property status: The status of the user. |
directoryIdRequired
public java.lang.Object getDirectoryId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property directoryId: The ID of the directory.
userNameRequired
public java.lang.Object getUserName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userName: The name of the user.
The name must be unique within the directory. The name cannot be changed. The name can contain numbers, letters, and the following special characters: @_-. The name can be up to 64 characters in length.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the user.
The description can be up to 1,024 characters in length.
displayNameOptional
public java.lang.Object getDisplayName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property displayName: The display name of the user.
The name can be up to 256 characters in length.
emailOptional
public java.lang.Object getEmail();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property email: The email address of the user.
The email address must be unique within the directory. The email address can be up to 128 characters in length.
firstNameOptional
public java.lang.Object getFirstName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property firstName: The first name of the user.
The name can be up to 64 characters in length.
lastNameOptional
public java.lang.Object getLastName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property lastName: The last name of the user.
The name can be up to 64 characters in length.
statusOptional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property status: The status of the user.
Valid values:
- Enabled: The logon of the user is enabled. This is the default value.
- Disabled: The logon of the user is disabled.