ServiceProps
Properties for defining a Service
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-service
Initializer
import com.aliyun.ros.cdk.apig.ServiceProps;
ServiceProps.builder()
.addresses(IResolvable)
.addresses(java.util.List<java.lang.String)
.addresses(IResolvable>)
.gatewayId(java.lang.String)
.gatewayId(IResolvable)
.serviceName(java.lang.String)
.serviceName(IResolvable)
.sourceType(java.lang.String)
.sourceType(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
addresses |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property addresses: Service Address List. |
gatewayId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property gatewayId: The ID of the Cloud Native API Gateway. |
serviceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceName: The name of the service. |
sourceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceType: The type of the service source. |
addresses
Required
public java.lang.Object getAddresses();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property addresses: Service Address List.
gatewayId
Required
public java.lang.Object getGatewayId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gatewayId: The ID of the Cloud Native API Gateway.
serviceName
Required
public java.lang.Object getServiceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property serviceName: The name of the service.
sourceType
Required
public java.lang.Object getSourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceType: The type of the service source.