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. |
class
Required
public java.lang.Object getClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
storage
Required
public java.lang.Object getStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
readonlyReplicas
Optional
public java.lang.Object getReadonlyReplicas();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable