Class PortStatusDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.PortStatusDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class PortStatusDTO
extends Object
PortStatusDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The run status of the port. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PortStatusSnapshotDTO
private String
private String
private String
private List
<NodePortStatusSnapshotDTO> private PortStatusDTO.RunStatusEnum
private String
private Boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNodeSnapshotsItem
(NodePortStatusSnapshotDTO nodeSnapshotsItem) aggregateSnapshot
(PortStatusSnapshotDTO aggregateSnapshot) boolean
Get aggregateSnapshotThe id of the parent process group of the port.getId()
The id of the port.getName()
The name of the port.A status snapshot for each node in the cluster.The run status of the port.The time the status for the process group was last refreshed.int
hashCode()
Whether the port has incoming or outgoing connections to a remote NiFi.nodeSnapshots
(List<NodePortStatusSnapshotDTO> nodeSnapshots) runStatus
(PortStatusDTO.RunStatusEnum runStatus) void
setAggregateSnapshot
(PortStatusSnapshotDTO aggregateSnapshot) void
setGroupId
(String groupId) void
void
void
setNodeSnapshots
(List<NodePortStatusSnapshotDTO> nodeSnapshots) void
setRunStatus
(PortStatusDTO.RunStatusEnum runStatus) void
setStatsLastRefreshed
(String statsLastRefreshed) void
setTransmitting
(Boolean transmitting) statsLastRefreshed
(String statsLastRefreshed) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
transmitting
(Boolean transmitting)
-
Field Details
-
id
-
groupId
-
name
-
transmitting
-
runStatus
-
statsLastRefreshed
-
aggregateSnapshot
-
nodeSnapshots
-
-
Constructor Details
-
PortStatusDTO
public PortStatusDTO()
-
-
Method Details
-
id
-
getId
The id of the port.- Returns:
- id
-
setId
-
groupId
-
getGroupId
The id of the parent process group of the port.- Returns:
- groupId
-
setGroupId
-
name
-
getName
The name of the port.- Returns:
- name
-
setName
-
transmitting
-
isTransmitting
Whether the port has incoming or outgoing connections to a remote NiFi.- Returns:
- transmitting
-
setTransmitting
-
runStatus
-
getRunStatus
The run status of the port.- Returns:
- runStatus
-
setRunStatus
-
statsLastRefreshed
-
getStatsLastRefreshed
The time the status for the process group was last refreshed.- Returns:
- statsLastRefreshed
-
setStatsLastRefreshed
-
aggregateSnapshot
-
getAggregateSnapshot
Get aggregateSnapshot- Returns:
- aggregateSnapshot
-
setAggregateSnapshot
-
nodeSnapshots
-
addNodeSnapshotsItem
-
getNodeSnapshots
A status snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null.- 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).
-