Class ProcessorUpdateRequest
- java.lang.Object
-
- ai.extend.resources.processor.requests.ProcessorUpdateRequest
-
public final class ProcessorUpdateRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessorUpdateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessorUpdateRequest.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<ProcessorUpdateRequestConfig>getConfig()java.util.Optional<java.lang.String>getName()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.util.Optional<java.lang.String> getName()
- Returns:
- The new name for the processor
-
getConfig
public java.util.Optional<ProcessorUpdateRequestConfig> getConfig()
- Returns:
- The new configuration for the processor. The type of configuration must match the processor type:
- For classification processors, use
ClassificationConfig - For extraction processors, use
ExtractionConfig - For splitter processors, use
SplitterConfig
- For classification processors, use
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ProcessorUpdateRequest.Builder builder()
-
-