Class PortDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.PortDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class PortDTO
extends Object
PortDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Specifies how the Port functionsstatic enum
The state of the port.static enum
The type of port. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Boolean
private String
private Integer
private String
private String
private String
private PortDTO.PortFunctionEnum
private PositionDTO
private PortDTO.StateEnum
private Boolean
private PortDTO.TypeEnum
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValidationErrorsItem
(String validationErrorsItem) allowRemoteAccess
(Boolean allowRemoteAccess) concurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) boolean
The comments for the port.The number of tasks that should be concurrently scheduled for the port.getId()
The id of the component.getName()
The name of the port.The id of parent process group of this component if applicable.Specifies how the Port functionsGet positiongetState()
The state of the port.getType()
The type of port.Gets the validation errors from this port.The ID of the corresponding component that is under version controlint
hashCode()
Whether this port can be accessed remotely via Site-to-Site protocol.Whether the port has incoming or output connections to a remote NiFi.parentGroupId
(String parentGroupId) portFunction
(PortDTO.PortFunctionEnum portFunction) position
(PositionDTO position) void
setAllowRemoteAccess
(Boolean allowRemoteAccess) void
setComments
(String comments) void
setConcurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) void
void
void
setParentGroupId
(String parentGroupId) void
setPortFunction
(PortDTO.PortFunctionEnum portFunction) void
setPosition
(PositionDTO position) void
setState
(PortDTO.StateEnum state) void
setTransmitting
(Boolean transmitting) void
setType
(PortDTO.TypeEnum type) void
setValidationErrors
(List<String> validationErrors) void
setVersionedComponentId
(String versionedComponentId) state
(PortDTO.StateEnum state) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
transmitting
(Boolean transmitting) type
(PortDTO.TypeEnum type) validationErrors
(List<String> validationErrors) versionedComponentId
(String versionedComponentId)
-
Field Details
-
id
-
versionedComponentId
-
parentGroupId
-
position
-
name
-
comments
-
state
-
type
-
transmitting
-
concurrentlySchedulableTaskCount
-
allowRemoteAccess
-
portFunction
-
validationErrors
-
-
Constructor Details
-
PortDTO
public PortDTO()
-
-
Method Details
-
id
-
getId
The id of the component.- Returns:
- id
-
setId
-
versionedComponentId
-
getVersionedComponentId
The ID of the corresponding component that is under version control- Returns:
- versionedComponentId
-
setVersionedComponentId
-
parentGroupId
-
getParentGroupId
The id of parent process group of this component if applicable.- Returns:
- parentGroupId
-
setParentGroupId
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
name
-
getName
The name of the port.- Returns:
- name
-
setName
-
comments
-
getComments
The comments for the port.- Returns:
- comments
-
setComments
-
state
-
getState
The state of the port.- Returns:
- state
-
setState
-
type
-
getType
The type of port.- Returns:
- type
-
setType
-
transmitting
-
isTransmitting
Whether the port has incoming or output connections to a remote NiFi. This is only applicable when the port is allowed to be accessed remotely.- Returns:
- transmitting
-
setTransmitting
-
concurrentlySchedulableTaskCount
-
getConcurrentlySchedulableTaskCount
The number of tasks that should be concurrently scheduled for the port.- Returns:
- concurrentlySchedulableTaskCount
-
setConcurrentlySchedulableTaskCount
-
allowRemoteAccess
-
isAllowRemoteAccess
Whether this port can be accessed remotely via Site-to-Site protocol.- Returns:
- allowRemoteAccess
-
setAllowRemoteAccess
-
portFunction
-
getPortFunction
Specifies how the Port functions- Returns:
- portFunction
-
setPortFunction
-
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Gets the validation errors from this port. These validation errors represent the problems with the port that must be resolved before it can be started.- Returns:
- validationErrors
-
setValidationErrors
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-