Skip to content

ServiceProps

Properties for defining a Service.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-service

Initializer

import com.aliyun.ros.cdk.pai.ServiceProps;
ServiceProps.builder()
    .serviceConfig(IResolvable)
    .serviceConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .develop(java.lang.String)
//  .develop(IResolvable)
//  .labels(IResolvable)
//  .labels(java.util.Map<java.lang.String, java.lang.Object>)
    .build();

Properties

Name Type Description
serviceConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property serviceConfig: Service configuration information.
develop java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property develop: Whether to enter the development mode.
labels com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property labels: Service Tag.

serviceConfigRequired

public java.lang.Object getServiceConfig();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property serviceConfig: Service configuration information.


developOptional

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

Property develop: Whether to enter the development mode.


labelsOptional

public java.lang.Object getLabels();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property labels: Service Tag.