Class GetInstancesInstance


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

      • availabilityZone

        public java.lang.String availabilityZone()
        Returns:
        Instance availability zone.
      • chargeType

        public java.lang.String chargeType()
        Returns:
        Billing method. Value options are `PostPaid` for Pay-As-You-Go and `PrePaid` for yearly or monthly subscription.
      • creationTime

        public java.lang.String creationTime()
        Returns:
        Creation time of the instance in RFC3339 format.
      • engine

        public java.lang.String engine()
        Returns:
        Database engine type. Supported option is `MongoDB`.
      • engineVersion

        public java.lang.String engineVersion()
        Returns:
        Database engine version.
      • expirationTime

        public java.lang.String expirationTime()
        Returns:
        Expiration time in RFC3339 format. Pay-As-You-Go instances are never expire.
      • id

        public java.lang.String id()
        Returns:
        The ID of the MongoDB instance.
      • instanceClass

        public java.lang.String instanceClass()
        Returns:
        Sizing of the instance to be queried.
      • instanceType

        public java.lang.String instanceType()
        Returns:
        Type of the instance to be queried. If it is set to `sharding`, the sharded cluster instances are listed. If it is set to `replicate`, replica set instances are listed. Default value `replicate`.
      • lockMode

        public java.lang.String lockMode()
        Returns:
        Lock status of the instance.
      • name

        public java.lang.String name()
        Returns:
        The name of the MongoDB instance.
      • networkType

        public java.lang.String networkType()
        Returns:
        Classic network or VPC.
      • regionId

        public java.lang.String regionId()
        Returns:
        Region ID the instance belongs to.
      • replication

        public java.lang.String replication()
        Returns:
        Replication factor corresponds to number of nodes. Optional values are `1` for single node and `3` for three nodes replica set.
      • status

        public java.lang.String status()
        Returns:
        Status of the instance.
      • storage

        public java.lang.Integer storage()
        Returns:
        Shard disk.
      • tags

        public java.util.Map<java.lang.String,​java.lang.Object> tags()
        Returns:
        A mapping of tags to assign to the resource.