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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
fileStoreHash
(String fileStoreHash) freeSpaceBytes
(Long freeSpaceBytes) A SHA-256 hash of the File Store name/path that is used to store the repository's data.Amount of free space.The number of bytes of free space.getName()
The name of the repositoryAmount of total space.The number of bytes of total space.Utilization of this storage location.int
hashCode()
void
setFileStoreHash
(String fileStoreHash) void
setFreeSpace
(String freeSpace) void
setFreeSpaceBytes
(Long freeSpaceBytes) void
void
setTotalSpace
(String totalSpace) void
setTotalSpaceBytes
(Long totalSpaceBytes) void
setUtilization
(String utilization) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
totalSpace
(String totalSpace) totalSpaceBytes
(Long totalSpaceBytes) utilization
(String utilization)
-
Field Details
-
name
-
fileStoreHash
-
freeSpace
-
totalSpace
-
freeSpaceBytes
-
totalSpaceBytes
-
utilization
-
-
Constructor Details
-
RepositoryUsageDTO
public RepositoryUsageDTO()
-
-
Method Details
-
name
-
getName
The name of the repository- Returns:
- name
-
setName
-
fileStoreHash
-
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
-
freeSpace
-
getFreeSpace
Amount of free space.- Returns:
- freeSpace
-
setFreeSpace
-
totalSpace
-
getTotalSpace
Amount of total space.- Returns:
- totalSpace
-
setTotalSpace
-
freeSpaceBytes
-
getFreeSpaceBytes
The number of bytes of free space.- Returns:
- freeSpaceBytes
-
setFreeSpaceBytes
-
totalSpaceBytes
-
getTotalSpaceBytes
The number of bytes of total space.- Returns:
- totalSpaceBytes
-
setTotalSpaceBytes
-
utilization
-
getUtilization
Utilization of this storage location.- Returns:
- utilization
-
setUtilization
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-