UserProps
Properties for defining a User
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-user
Initializer
import com.aliyun.ros.cdk.ram.UserProps;
UserProps.builder()
.userName(java.lang.String)
.userName(IResolvable)
// .comments(java.lang.String)
// .comments(IResolvable)
// .deletionForce(java.lang.Boolean)
// .deletionForce(IResolvable)
// .displayName(java.lang.String)
// .displayName(IResolvable)
// .email(java.lang.String)
// .email(IResolvable)
// .groups(java.util.List<java.lang.Object>)
// .groups(IResolvable)
// .loginProfile(IResolvable)
// .loginProfile(LoginProfileProperty)
// .mobilePhone(java.lang.String)
// .mobilePhone(IResolvable)
// .policies(IResolvable)
// .policies(java.util.List<IResolvable)
// .policies(PoliciesProperty>)
// .policyAttachments(IResolvable)
// .policyAttachments(PolicyAttachmentsProperty)
.build();
Properties
Name | Type | Description |
---|---|---|
userName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property userName: Specifies the user name, containing up to 64 characters. |
comments |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property comments: Comments of ram user. |
deletionForce |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property deletionForce: Whether force detach the policies and groups attached to the user. |
displayName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property displayName: Display name, up to 128 characters or Chinese characters. |
email |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property email: Email of ram user. |
groups |
java.util.List |
Property groups: A name of a group to which you want to add the user. |
loginProfile |
com.aliyun.ros.cdk.core.IResolvable OR LoginProfileProperty |
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console. |
mobilePhone |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property mobilePhone: Phone number of ram user. |
policies |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property policies: Describes what actions are allowed on what resources. |
policyAttachments |
com.aliyun.ros.cdk.core.IResolvable OR PolicyAttachmentsProperty |
Property policyAttachments: System and custom policy names to attach. |
userName
Required
public java.lang.Object getUserName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userName: Specifies the user name, containing up to 64 characters.
comments
Optional
public java.lang.Object getComments();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property comments: Comments of ram user.
deletionForce
Optional
public java.lang.Object getDeletionForce();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property deletionForce: Whether force detach the policies and groups attached to the user.
Default value is false.
displayName
Optional
public java.lang.Object getDisplayName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property displayName: Display name, up to 128 characters or Chinese characters.
email
Optional
public java.lang.Object getEmail();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property email: Email of ram user.
groups
Optional
public java.lang.Object getGroups();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property groups: A name of a group to which you want to add the user.
loginProfile
Optional
public java.lang.Object getLoginProfile();
- Type: com.aliyun.ros.cdk.core.IResolvable OR LoginProfileProperty
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
mobilePhone
Optional
public java.lang.Object getMobilePhone();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property mobilePhone: Phone number of ram user.
policies
Optional
public java.lang.Object getPolicies();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
PoliciesProperty>
Property policies: Describes what actions are allowed on what resources.
policyAttachments
Optional
public java.lang.Object getPolicyAttachments();
- Type: com.aliyun.ros.cdk.core.IResolvable OR PolicyAttachmentsProperty
Property policyAttachments: System and custom policy names to attach.