Skip to content

ReplicaSetProperty

Initializer

import com.aliyun.ros.cdk.mongodb.RosShardingInstance.ReplicaSetProperty;
ReplicaSetProperty.builder()
    .class(java.lang.String)
    .class(IResolvable)
    .storage(java.lang.Number)
    .storage(IResolvable)
//  .readonlyReplicas(java.lang.Number)
//  .readonlyReplicas(IResolvable)
    .build();

Properties

Name Type Description
class java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
storage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
readonlyReplicas java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

classRequired

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

storageRequired

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

readonlyReplicasOptional

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