Class DiskUsage

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.DiskUsage
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DiskUsage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Summary of the disk usage statistics for the environment.
  • Constructor Summary

    Constructors
    Constructor Description
    DiskUsage()  
  • Method Summary

    Modifier and Type Method Description
    Long getMaximumAllowedBytes()
    Gets the maximumAllowedBytes.
    Long getUsedBytes()
    Gets the usedBytes.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DiskUsage

      public DiskUsage()
  • Method Details

    • getUsedBytes

      public Long getUsedBytes()
      Gets the usedBytes.

      Number of bytes within the environment's disk capacity that are currently used to store data.

      Returns:
      the usedBytes
    • getMaximumAllowedBytes

      public Long getMaximumAllowedBytes()
      Gets the maximumAllowedBytes.

      Total number of bytes available in the environment's disk capacity.

      Returns:
      the maximumAllowedBytes