CallbackProps
Properties for defining a Callback
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-callback
Initializer
import com.aliyun.ros.cdk.aligreen.CallbackProps;
CallbackProps.builder()
.callbackName(java.lang.String)
.callbackName(IResolvable)
.callbackSuggestions(IResolvable)
.callbackSuggestions(java.util.List<java.lang.String)
.callbackSuggestions(IResolvable>)
.callbackTypes(IResolvable)
.callbackTypes(java.util.List<java.lang.String)
.callbackTypes(IResolvable>)
.callbackUrl(java.lang.String)
.callbackUrl(IResolvable)
// .cryptType(java.lang.Number)
// .cryptType(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
callbackName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property callbackName: The Callback name defined by the customer. |
callbackSuggestions |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property callbackSuggestions: List of audit results supported by message notification. |
callbackTypes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property callbackTypes: A list of Callback types. |
callbackUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property callbackUrl: The detection result will be called back to the url. |
cryptType |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service. |
callbackName
Required
public java.lang.Object getCallbackName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property callbackName: The Callback name defined by the customer.
It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
callbackSuggestions
Required
public java.lang.Object getCallbackSuggestions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property callbackSuggestions: List of audit results supported by message notification.
Value: block: confirmed violation, review: Suspected violation, pass: normal.
callbackTypes
Required
public java.lang.Object getCallbackTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property callbackTypes: A list of Callback types.
Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
callbackUrl
Required
public java.lang.Object getCallbackUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property callbackUrl: The detection result will be called back to the url.
cryptType
Optional
public java.lang.Object getCryptType();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service.
Value: 0:SHA256,1: SM3.