Skip to content

AppUserProps

Properties for defining a AppUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-appuser

Initializer

import com.aliyun.ros.cdk.sag.AppUserProps;
AppUserProps.builder()
    .bandwidth(java.lang.Number)
    .bandwidth(IResolvable)
    .smartAgId(java.lang.String)
    .smartAgId(IResolvable)
    .userMail(java.lang.String)
    .userMail(IResolvable)
//  .clientIp(java.lang.String)
//  .clientIp(IResolvable)
//  .disable(java.lang.Boolean)
//  .disable(IResolvable)
//  .password(java.lang.String)
//  .password(IResolvable)
//  .userName(java.lang.String)
//  .userName(IResolvable)
    .build();

Properties

Name Type Description
bandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property bandwidth: The bandwidth.
smartAgId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property smartAgId: The ID of the SAG APP instance.
userMail java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userMail: The email address of the user.
clientIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP.
disable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property disable: Disable user or not.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property password: The password used to log on to SAG APP.
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: The username of the client account.

bandwidthRequired

public java.lang.Object getBandwidth();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property bandwidth: The bandwidth.

Unit: Kbit/s. Maximum bandwidth: 2,000 Kbit/s.


smartAgIdRequired

public java.lang.Object getSmartAgId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property smartAgId: The ID of the SAG APP instance.


userMailRequired

public java.lang.Object getUserMail();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property userMail: The email address of the user.

The username and password are sent to the specified email address.


clientIpOptional

public java.lang.Object getClientIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP.

In this case, SAG APP connects to Alibaba Cloud through the specified IP address. Note The IP address must fall into the CIDR block of the private network. After this feature is disabled, an IP address within the CIDR block of the private network is assigned to SAG APP. Each connection to Alibaba Cloud uses a different IP address.


disableOptional

public java.lang.Object getDisable();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property disable: Disable user or not.


passwordOptional

public java.lang.Object getPassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property password: The password used to log on to SAG APP.

For a client account, if you specify the username, you must also specify the password.


userNameOptional

public java.lang.Object getUserName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property userName: The username of the client account.

Usernames of client accounts added to the same SAG APP instance must be unique. For a client account, if you specify the username, you must also specify the password.