AccountProps
Properties for defining a Account.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-amqp-account
Initializer
import com.aliyun.ros.cdk.amqp.AccountProps;
AccountProps.builder()
.accountAccessKey(java.lang.String)
.accountAccessKey(IResolvable)
.accountAccessKeySecret(java.lang.String)
.accountAccessKeySecret(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
accountAccessKey | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountAccessKey: Your Alibaba Cloud account or RAM user's AccessKey ID. |
accountAccessKeySecret | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountAccessKeySecret: Your Alibaba Cloud account or RAM user's AccessKeySecret. |
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: Message Queue The ID of the RabbitMQ version instance, indicating which instance you need to create a static username and password. |
accountAccessKeyRequired
public java.lang.Object getAccountAccessKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountAccessKey: Your Alibaba Cloud account or RAM user's AccessKey ID.
For obtaining it, visit RAM console. If you use the static username and password created by the AccessKey of the RAM user to access the RabbitMQ version of the message queue and send and receive messages, make sure that the RAM user has been granted the permission of sending and receiving messages. For more information, see RAM permissions policy.
accountAccessKeySecretRequired
public java.lang.Object getAccountAccessKeySecret();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountAccessKeySecret: Your Alibaba Cloud account or RAM user's AccessKeySecret.
instanceIdRequired
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: Message Queue The ID of the RabbitMQ version instance, indicating which instance you need to create a static username and password.