Skip to content

ServicesProps

Properties for defining a Services.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-services

Initializer

import com.aliyun.ros.cdk.pai.datasource.ServicesProps;
ServicesProps.builder()
//  .labels(IResolvable)
//  .labels(java.util.Map<java.lang.String, java.lang.Object>)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .serviceName(java.lang.String)
//  .serviceName(IResolvable)
    .build();

Properties

Name Type Description
labels com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property labels: Service Tag.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
serviceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceName: Service Name.

labelsOptional

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

Property labels: Service Tag.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

serviceNameOptional

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

Property serviceName: Service Name.