Skip to content

Cluster2Props

Properties for defining a Cluster2.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-emr-cluster2

Initializer

import com.aliyun.ros.cdk.emr.datasource.Cluster2Props;
Cluster2Props.builder()
//  .clusterIds(IResolvable)
//  .clusterIds(java.util.List<java.lang.String)
//  .clusterIds(IResolvable>)
//  .clusterName(java.lang.String)
//  .clusterName(IResolvable)
//  .clusterStates(IResolvable)
//  .clusterStates(java.util.List<java.lang.String)
//  .clusterStates(IResolvable>)
//  .clusterType(IResolvable)
//  .clusterType(java.util.List<java.lang.String)
//  .clusterType(IResolvable>)
//  .paymentTypes(IResolvable)
//  .paymentTypes(java.util.List<java.lang.String)
//  .paymentTypes(IResolvable>)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
clusterIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property clusterIds: The list of emr cluster id.
clusterName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterName: The name of cluster.
clusterStates com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property clusterStates: The list of emr cluster state.
clusterType com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property clusterType: The list of emr cluster type.
paymentTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property paymentTypes: The payment type of emr cluster.
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.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The resource group id of emr cluster.
tags java.util.List Property tags: Tags of emr cluster.

clusterIdsOptional

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

Property clusterIds: The list of emr cluster id.


clusterNameOptional

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

Property clusterName: The name of cluster.


clusterStatesOptional

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

Property clusterStates: The list of emr cluster state.


clusterTypeOptional

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

Property clusterType: The list of emr cluster type.


paymentTypesOptional

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

Property paymentTypes: The payment type of emr cluster.


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.

resourceGroupIdOptional

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

Property resourceGroupId: The resource group id of emr cluster.


tagsOptional

public java.util.List<TagsProperty> getTags();
  • Type: java.util.List

Property tags: Tags of emr cluster.