BindingProps
Properties for defining a Binding
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-amqp-binding
Initializer
import com.aliyun.ros.cdk.amqp.BindingProps;
BindingProps.builder()
.argument(java.lang.String)
.argument(IResolvable)
.bindingKey(java.lang.String)
.bindingKey(IResolvable)
.bindingType(java.lang.String)
.bindingType(IResolvable)
.destinationName(java.lang.String)
.destinationName(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.sourceExchange(java.lang.String)
.sourceExchange(IResolvable)
.virtualHost(java.lang.String)
.virtualHost(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
argument |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property argument: X-match Attributes. |
bindingKey |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bindingKey: The Binding Key. |
bindingType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bindingType: The Target Binding Types. |
destinationName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property destinationName: The Target Queue Or Exchange of the Name. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: InstanceId. |
sourceExchange |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceExchange: The Source Exchange Name. |
virtualHost |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property virtualHost: The name of the virtual host. |
argument
Required
public java.lang.Object getArgument();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property argument: X-match Attributes.
Valid Values: "x-match:all": Default Value, All the Message Header of Key-Value Pairs Stored in the Must Match. "x-match:any": at Least One Pair of the Message Header of Key-Value Pairs Stored in the Must Match.
bindingKey
Required
public java.lang.Object getBindingKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bindingKey: The Binding Key.
bindingType
Required
public java.lang.Object getBindingType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bindingType: The Target Binding Types.
Valid values: EXCHANGE, QUEUE.
destinationName
Required
public java.lang.Object getDestinationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property destinationName: The Target Queue Or Exchange of the Name.
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: InstanceId.
sourceExchange
Required
public java.lang.Object getSourceExchange();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceExchange: The Source Exchange Name.
virtualHost
Required
public java.lang.Object getVirtualHost();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property virtualHost: The name of the virtual host.