Class RepositoryUsageDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.RepositoryUsageDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class RepositoryUsageDTO extends Object
RepositoryUsageDTO
  • Field Details

    • name

      private String name
    • fileStoreHash

      private String fileStoreHash
    • freeSpace

      private String freeSpace
    • totalSpace

      private String totalSpace
    • freeSpaceBytes

      private Long freeSpaceBytes
    • totalSpaceBytes

      private Long totalSpaceBytes
    • utilization

      private String utilization
  • Constructor Details

    • RepositoryUsageDTO

      public RepositoryUsageDTO()
  • Method Details

    • name

      public RepositoryUsageDTO name(String name)
    • getName

      public String getName()
      The name of the repository
      Returns:
      name
    • setName

      public void setName(String name)
    • fileStoreHash

      public RepositoryUsageDTO fileStoreHash(String fileStoreHash)
    • getFileStoreHash

      public String getFileStoreHash()
      A SHA-256 hash of the File Store name/path that is used to store the repository's data. This information is exposed as a hash in order to avoid exposing potentially sensitive information that is not generally relevant. What is typically relevant is whether or not multiple repositories on the same node are using the same File Store, as this indicates that the repositories are competing for the resources of the backing disk/storage mechanism.
      Returns:
      fileStoreHash
    • setFileStoreHash

      public void setFileStoreHash(String fileStoreHash)
    • freeSpace

      public RepositoryUsageDTO freeSpace(String freeSpace)
    • getFreeSpace

      public String getFreeSpace()
      Amount of free space.
      Returns:
      freeSpace
    • setFreeSpace

      public void setFreeSpace(String freeSpace)
    • totalSpace

      public RepositoryUsageDTO totalSpace(String totalSpace)
    • getTotalSpace

      public String getTotalSpace()
      Amount of total space.
      Returns:
      totalSpace
    • setTotalSpace

      public void setTotalSpace(String totalSpace)
    • freeSpaceBytes

      public RepositoryUsageDTO freeSpaceBytes(Long freeSpaceBytes)
    • getFreeSpaceBytes

      public Long getFreeSpaceBytes()
      The number of bytes of free space.
      Returns:
      freeSpaceBytes
    • setFreeSpaceBytes

      public void setFreeSpaceBytes(Long freeSpaceBytes)
    • totalSpaceBytes

      public RepositoryUsageDTO totalSpaceBytes(Long totalSpaceBytes)
    • getTotalSpaceBytes

      public Long getTotalSpaceBytes()
      The number of bytes of total space.
      Returns:
      totalSpaceBytes
    • setTotalSpaceBytes

      public void setTotalSpaceBytes(Long totalSpaceBytes)
    • utilization

      public RepositoryUsageDTO utilization(String utilization)
    • getUtilization

      public String getUtilization()
      Utilization of this storage location.
      Returns:
      utilization
    • setUtilization

      public void setUtilization(String utilization)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).