Class ControllerServiceReferencingComponentDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.ControllerServiceReferencingComponentDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ControllerServiceReferencingComponentDTO
extends Object
ControllerServiceReferencingComponentDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The type of reference this is. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveThreadCount
(Integer activeThreadCount) addReferencingComponentsItem
(ControllerServiceReferencingComponentEntity referencingComponentsItem) addValidationErrorsItem
(String validationErrorsItem) descriptors
(Map<String, PropertyDescriptorDTO> descriptors) boolean
The number of active threads for the referencing component.The descriptors for the component properties.The group id for the component referencing a controller service.getId()
The id of the component referencing a controller service.getName()
The name of the component referencing a controller service.The properties for the component.The type of reference this is.If the referencing component represents a controller service, these are the components that reference it.getState()
The scheduled state of a processor or reporting task referencing a controller service.getType()
The type of the component referencing a controller service in simple Java class name format without package name.The validation errors for the component.int
hashCode()
If the referencing component represents a controller service, this indicates whether it has already been represented in this hierarchy.properties
(Map<String, String> properties) putDescriptorsItem
(String key, PropertyDescriptorDTO descriptorsItem) putPropertiesItem
(String key, String propertiesItem) referenceCycle
(Boolean referenceCycle) referencingComponents
(List<ControllerServiceReferencingComponentEntity> referencingComponents) void
setActiveThreadCount
(Integer activeThreadCount) void
setDescriptors
(Map<String, PropertyDescriptorDTO> descriptors) void
setGroupId
(String groupId) void
void
void
setProperties
(Map<String, String> properties) void
setReferenceCycle
(Boolean referenceCycle) void
void
setReferencingComponents
(List<ControllerServiceReferencingComponentEntity> referencingComponents) void
void
void
setValidationErrors
(List<String> validationErrors) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
validationErrors
(List<String> validationErrors)
-
Field Details
-
groupId
-
id
-
name
-
type
-
state
-
properties
-
descriptors
-
validationErrors
-
referenceType
-
activeThreadCount
-
referenceCycle
-
referencingComponents
-
-
Constructor Details
-
ControllerServiceReferencingComponentDTO
public ControllerServiceReferencingComponentDTO()
-
-
Method Details
-
groupId
-
getGroupId
The group id for the component referencing a controller service. If this component is another controller service or a reporting task, this field is blank.- Returns:
- groupId
-
setGroupId
-
id
-
getId
The id of the component referencing a controller service.- Returns:
- id
-
setId
-
name
-
getName
The name of the component referencing a controller service.- Returns:
- name
-
setName
-
type
-
getType
The type of the component referencing a controller service in simple Java class name format without package name.- Returns:
- type
-
setType
-
state
-
getState
The scheduled state of a processor or reporting task referencing a controller service. If this component is another controller service, this field represents the controller service state.- Returns:
- state
-
setState
-
properties
-
putPropertiesItem
public ControllerServiceReferencingComponentDTO putPropertiesItem(String key, String propertiesItem) -
getProperties
The properties for the component.- Returns:
- properties
-
setProperties
-
descriptors
public ControllerServiceReferencingComponentDTO descriptors(Map<String, PropertyDescriptorDTO> descriptors) -
putDescriptorsItem
public ControllerServiceReferencingComponentDTO putDescriptorsItem(String key, PropertyDescriptorDTO descriptorsItem) -
getDescriptors
The descriptors for the component properties.- Returns:
- descriptors
-
setDescriptors
-
validationErrors
-
addValidationErrorsItem
public ControllerServiceReferencingComponentDTO addValidationErrorsItem(String validationErrorsItem) -
getValidationErrors
The validation errors for the component.- Returns:
- validationErrors
-
setValidationErrors
-
referenceType
public ControllerServiceReferencingComponentDTO referenceType(ControllerServiceReferencingComponentDTO.ReferenceTypeEnum referenceType) -
getReferenceType
The type of reference this is.- Returns:
- referenceType
-
setReferenceType
public void setReferenceType(ControllerServiceReferencingComponentDTO.ReferenceTypeEnum referenceType) -
activeThreadCount
-
getActiveThreadCount
The number of active threads for the referencing component.- Returns:
- activeThreadCount
-
setActiveThreadCount
-
referenceCycle
-
isReferenceCycle
If the referencing component represents a controller service, this indicates whether it has already been represented in this hierarchy.- Returns:
- referenceCycle
-
setReferenceCycle
-
referencingComponents
public ControllerServiceReferencingComponentDTO referencingComponents(List<ControllerServiceReferencingComponentEntity> referencingComponents) -
addReferencingComponentsItem
public ControllerServiceReferencingComponentDTO addReferencingComponentsItem(ControllerServiceReferencingComponentEntity referencingComponentsItem) -
getReferencingComponents
If the referencing component represents a controller service, these are the components that reference it.- Returns:
- referencingComponents
-
setReferencingComponents
public void setReferencingComponents(List<ControllerServiceReferencingComponentEntity> referencingComponents) -
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-