Skip to content

RosNacosServiceProps

Properties for defining a RosNacosService.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice

Initializer

import com.aliyun.ros.cdk.mse.RosNacosServiceProps;
RosNacosServiceProps.builder()
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .serviceName(java.lang.String)
    .serviceName(IResolvable)
//  .ephemeral(java.lang.Boolean)
//  .ephemeral(IResolvable)
//  .groupName(java.lang.String)
//  .groupName(IResolvable)
//  .namespaceId(java.lang.String)
//  .namespaceId(IResolvable)
//  .protectThreshold(java.lang.String)
//  .protectThreshold(IResolvable)
    .build();

Properties

Name Type Description
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
serviceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ephemeral java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
groupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
namespaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
protectThreshold java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

instanceIdRequired

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

serviceNameRequired

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

ephemeralOptional

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

groupNameOptional

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

namespaceIdOptional

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

protectThresholdOptional

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