Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-paidswapi-instances

Initializer

import com.aliyun.ros.cdk.paidswapi.datasource.InstancesProps;
InstancesProps.builder()
//  .accessibility(java.lang.String)
//  .accessibility(IResolvable)
//  .instanceId(java.lang.String)
//  .instanceId(IResolvable)
//  .instanceName(java.lang.String)
//  .instanceName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .workspaceId(java.lang.String)
//  .workspaceId(IResolvable)
    .build();

Properties

Name Type Description
accessibility java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessibility: Whether the workspace is visible to others.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The first ID of the resource.
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The instance name.
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.
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: The Id of the workspace.

accessibilityOptional

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

Property accessibility: Whether the workspace is visible to others.


instanceIdOptional

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

Property instanceId: The first ID of the resource.


instanceNameOptional

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

Property instanceName: The instance name.


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.

workspaceIdOptional

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

Property workspaceId: The Id of the workspace.