Class ShardingInstanceShardList


  • public final class ShardingInstanceShardList
    extends java.lang.Object
    • Method Detail

      • nodeClass

        public java.lang.String nodeClass()
        Returns:
        Node specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
      • nodeId

        public java.util.Optional<java.lang.String> nodeId()
        Returns:
        The ID of the shard-node.
      • nodeStorage

        public java.lang.Integer nodeStorage()
        Returns:
        - Custom storage space; value range: [10, 1,000] - 10-GB increments. Unit: GB.
      • readonlyReplicas

        public java.util.Optional<java.lang.Integer> readonlyReplicas()
        Returns:
        The number of read-only nodes in shard node. Valid values: 0 to 5. Default value: 0.