Skip to content

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.

httpApiIdRequired

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.


methodRequired

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

Property method: The method of http protocol.


operationNameRequired

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

Property operationName: The name of the operation.


pathRequired

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

Property path: The interface path of the operation.


descriptionOptional

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

Property description: The description of the operation.


mockOptional

public java.lang.Object getMock();

Property mock: Mock configuration.