OperationProps
Properties for defining a Operation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-operation
Initializer
import com.aliyun.ros.cdk.apig.OperationProps;
OperationProps.builder()
.httpApiId(java.lang.String)
.httpApiId(IResolvable)
.method(java.lang.String)
.method(IResolvable)
.operationName(java.lang.String)
.operationName(IResolvable)
.path(java.lang.String)
.path(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .mock(IResolvable)
// .mock(MockProperty)
.build();
Properties
Name | Type | Description |
---|---|---|
httpApiId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property httpApiId: The HTTP API ID to which the interface belongs. |
method |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property method: The method of http protocol. |
operationName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property operationName: The name of the operation. |
path |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property path: The interface path of the operation. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the operation. |
mock |
com.aliyun.ros.cdk.core.IResolvable OR MockProperty |
Property mock: Mock configuration. |
httpApiId
Required
public java.lang.Object getHttpApiId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpApiId: The HTTP API ID to which the interface belongs.
method
Required
public java.lang.Object getMethod();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property method: The method of http protocol.
operationName
Required
public java.lang.Object getOperationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property operationName: The name of the operation.
path
Required
public java.lang.Object getPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property path: The interface path of the operation.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the operation.
mock
Optional
public java.lang.Object getMock();
- Type: com.aliyun.ros.cdk.core.IResolvable OR MockProperty
Property mock: Mock configuration.