Record Class Transform.Request
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.live_ingester.adapters.config.properties.Transform.Request
- Enclosing class:
- Transform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotBlank Stringendpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.options()Returns the value of theoptionsrecord component.@jakarta.validation.constraints.Positive inttimeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Request
public Request(@NotBlank @NotBlank String endpoint, @Positive @DefaultValue("20000") @jakarta.validation.constraints.Positive int timeout, @NotNull @NotNull Map<String, Map<String, String>> options) Creates an instance of aRequestrecord class.- Parameters:
endpoint- the value for theendpointrecord componenttimeout- the value for thetimeoutrecord componentoptions- the value for theoptionsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
timeout
@Positive public @jakarta.validation.constraints.Positive int timeout()Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-