Class ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems
-
public final class ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems extends Object
The ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems model.
-
-
Constructor Summary
Constructors Constructor Description ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()Get the address property: The node's IP address.DoublecpuUsage()Get the cpuUsage property: A float representing the current system-wide CPU utilization as a percentage.LongdiskFreeKB()Get the diskFreeKB property: The amount of disk free, in kB, of the directory /var/lib/cassandra.LongdiskUsedKB()Get the diskUsedKB property: The amount of disk used, in kB, of the directory /var/lib/cassandra.StringhostId()Get the hostId property: The network ID of the node.Stringload()Get the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories.LongmemoryBuffersAndCachedKB()Get the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.LongmemoryFreeKB()Get the memoryFreeKB property: Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.LongmemoryTotalKB()Get the memoryTotalKB property: Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.LongmemoryUsedKB()Get the memoryUsedKB property: Used memory (calculated as total - free - buffers - cache), in kB.Stringrack()Get the rack property: The rack this node is part of.Integersize()Get the size property: The size property.NodeStatestate()Get the state property: The state of the node in Cassandra ring.Stringstatus()Get the status property: The status property.Stringtimestamp()Get the timestamp property: The timestamp when these statistics were captured.List<String>tokens()Get the tokens property: List of tokens this node covers.voidvalidate()Validates the instance.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithAddress(String address)Set the address property: The node's IP address.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithCpuUsage(Double cpuUsage)Set the cpuUsage property: A float representing the current system-wide CPU utilization as a percentage.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithDiskFreeKB(Long diskFreeKB)Set the diskFreeKB property: The amount of disk free, in kB, of the directory /var/lib/cassandra.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithDiskUsedKB(Long diskUsedKB)Set the diskUsedKB property: The amount of disk used, in kB, of the directory /var/lib/cassandra.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithHostId(String hostId)Set the hostId property: The network ID of the node.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithLoad(String load)Set the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithMemoryBuffersAndCachedKB(Long memoryBuffersAndCachedKB)Set the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithMemoryFreeKB(Long memoryFreeKB)Set the memoryFreeKB property: Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithMemoryTotalKB(Long memoryTotalKB)Set the memoryTotalKB property: Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithMemoryUsedKB(Long memoryUsedKB)Set the memoryUsedKB property: Used memory (calculated as total - free - buffers - cache), in kB.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithRack(String rack)Set the rack property: The rack this node is part of.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithSize(Integer size)Set the size property: The size property.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithState(NodeState state)Set the state property: The state of the node in Cassandra ring.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithStatus(String status)Set the status property: The status property.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithTimestamp(String timestamp)Set the timestamp property: The timestamp when these statistics were captured.ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemswithTokens(List<String> tokens)Set the tokens property: List of tokens this node covers.
-
-
-
Method Detail
-
address
public String address()
Get the address property: The node's IP address.- Returns:
- the address value.
-
withAddress
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withAddress(String address)
Set the address property: The node's IP address.- Parameters:
address- the address value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
state
public NodeState state()
Get the state property: The state of the node in Cassandra ring.- Returns:
- the state value.
-
withState
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withState(NodeState state)
Set the state property: The state of the node in Cassandra ring.- Parameters:
state- the state value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
status
public String status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withStatus(String status)
Set the status property: The status property.- Parameters:
status- the status value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
load
public String load()
Get the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted.- Returns:
- the load value.
-
withLoad
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withLoad(String load)
Set the load property: The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted.- Parameters:
load- the load value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
tokens
public List<String> tokens()
Get the tokens property: List of tokens this node covers.- Returns:
- the tokens value.
-
withTokens
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withTokens(List<String> tokens)
Set the tokens property: List of tokens this node covers.- Parameters:
tokens- the tokens value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
size
public Integer size()
Get the size property: The size property.- Returns:
- the size value.
-
withSize
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withSize(Integer size)
Set the size property: The size property.- Parameters:
size- the size value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
hostId
public String hostId()
Get the hostId property: The network ID of the node.- Returns:
- the hostId value.
-
withHostId
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withHostId(String hostId)
Set the hostId property: The network ID of the node.- Parameters:
hostId- the hostId value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
rack
public String rack()
Get the rack property: The rack this node is part of.- Returns:
- the rack value.
-
withRack
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withRack(String rack)
Set the rack property: The rack this node is part of.- Parameters:
rack- the rack value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
timestamp
public String timestamp()
Get the timestamp property: The timestamp when these statistics were captured.- Returns:
- the timestamp value.
-
withTimestamp
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withTimestamp(String timestamp)
Set the timestamp property: The timestamp when these statistics were captured.- Parameters:
timestamp- the timestamp value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
diskUsedKB
public Long diskUsedKB()
Get the diskUsedKB property: The amount of disk used, in kB, of the directory /var/lib/cassandra.- Returns:
- the diskUsedKB value.
-
withDiskUsedKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withDiskUsedKB(Long diskUsedKB)
Set the diskUsedKB property: The amount of disk used, in kB, of the directory /var/lib/cassandra.- Parameters:
diskUsedKB- the diskUsedKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
diskFreeKB
public Long diskFreeKB()
Get the diskFreeKB property: The amount of disk free, in kB, of the directory /var/lib/cassandra.- Returns:
- the diskFreeKB value.
-
withDiskFreeKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withDiskFreeKB(Long diskFreeKB)
Set the diskFreeKB property: The amount of disk free, in kB, of the directory /var/lib/cassandra.- Parameters:
diskFreeKB- the diskFreeKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
memoryUsedKB
public Long memoryUsedKB()
Get the memoryUsedKB property: Used memory (calculated as total - free - buffers - cache), in kB.- Returns:
- the memoryUsedKB value.
-
withMemoryUsedKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withMemoryUsedKB(Long memoryUsedKB)
Set the memoryUsedKB property: Used memory (calculated as total - free - buffers - cache), in kB.- Parameters:
memoryUsedKB- the memoryUsedKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
memoryBuffersAndCachedKB
public Long memoryBuffersAndCachedKB()
Get the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.- Returns:
- the memoryBuffersAndCachedKB value.
-
withMemoryBuffersAndCachedKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withMemoryBuffersAndCachedKB(Long memoryBuffersAndCachedKB)
Set the memoryBuffersAndCachedKB property: Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.- Parameters:
memoryBuffersAndCachedKB- the memoryBuffersAndCachedKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
memoryFreeKB
public Long memoryFreeKB()
Get the memoryFreeKB property: Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.- Returns:
- the memoryFreeKB value.
-
withMemoryFreeKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withMemoryFreeKB(Long memoryFreeKB)
Set the memoryFreeKB property: Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.- Parameters:
memoryFreeKB- the memoryFreeKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
memoryTotalKB
public Long memoryTotalKB()
Get the memoryTotalKB property: Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.- Returns:
- the memoryTotalKB value.
-
withMemoryTotalKB
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withMemoryTotalKB(Long memoryTotalKB)
Set the memoryTotalKB property: Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.- Parameters:
memoryTotalKB- the memoryTotalKB value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
cpuUsage
public Double cpuUsage()
Get the cpuUsage property: A float representing the current system-wide CPU utilization as a percentage.- Returns:
- the cpuUsage value.
-
withCpuUsage
public ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems withCpuUsage(Double cpuUsage)
Set the cpuUsage property: A float representing the current system-wide CPU utilization as a percentage.- Parameters:
cpuUsage- the cpuUsage value to set.- Returns:
- the ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-