Class ConnectionStatisticsDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.ConnectionStatisticsDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ConnectionStatisticsDTO
extends Object
ConnectionStatisticsDTO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ConnectionStatisticsSnapshotDTO
private String
private List
<NodeConnectionStatisticsSnapshotDTO> private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNodeSnapshotsItem
(NodeConnectionStatisticsSnapshotDTO nodeSnapshotsItem) aggregateSnapshot
(ConnectionStatisticsSnapshotDTO aggregateSnapshot) boolean
Get aggregateSnapshotgetId()
The ID of the connectionA list of status snapshots for each nodeThe timestamp of when the stats were last refreshedint
hashCode()
nodeSnapshots
(List<NodeConnectionStatisticsSnapshotDTO> nodeSnapshots) void
setAggregateSnapshot
(ConnectionStatisticsSnapshotDTO aggregateSnapshot) void
void
setNodeSnapshots
(List<NodeConnectionStatisticsSnapshotDTO> nodeSnapshots) void
setStatsLastRefreshed
(String statsLastRefreshed) statsLastRefreshed
(String statsLastRefreshed) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
id
-
statsLastRefreshed
-
aggregateSnapshot
-
nodeSnapshots
-
-
Constructor Details
-
ConnectionStatisticsDTO
public ConnectionStatisticsDTO()
-
-
Method Details
-
id
-
getId
The ID of the connection- Returns:
- id
-
setId
-
statsLastRefreshed
-
getStatsLastRefreshed
The timestamp of when the stats were last refreshed- Returns:
- statsLastRefreshed
-
setStatsLastRefreshed
-
aggregateSnapshot
-
getAggregateSnapshot
Get aggregateSnapshot- Returns:
- aggregateSnapshot
-
setAggregateSnapshot
-
nodeSnapshots
public ConnectionStatisticsDTO nodeSnapshots(List<NodeConnectionStatisticsSnapshotDTO> nodeSnapshots) -
addNodeSnapshotsItem
public ConnectionStatisticsDTO addNodeSnapshotsItem(NodeConnectionStatisticsSnapshotDTO nodeSnapshotsItem) -
getNodeSnapshots
A list of status snapshots for each node- Returns:
- nodeSnapshots
-
setNodeSnapshots
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-