Package ai.astraform.remote.domain.sdk
Record Class PolicyWindTunnelPackDescriptor
java.lang.Object
java.lang.Record
ai.astraform.remote.domain.sdk.PolicyWindTunnelPackDescriptor
public record PolicyWindTunnelPackDescriptor(String packId, String domainId, String label, String description, String experimentId, String routeBasePath, String artifactRoot, String scenarioId, boolean enabledByDefault)
extends Record
Host-neutral metadata for a domain-owned Policy Wind Tunnel pack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactRootrecord component.Returns the value of thedescriptionrecord component.domainId()Returns the value of thedomainIdrecord component.booleanReturns the value of theenabledByDefaultrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexperimentIdrecord component.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.packId()Returns the value of thepackIdrecord component.Returns the value of therouteBasePathrecord component.Returns the value of thescenarioIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PolicyWindTunnelPackDescriptor
public PolicyWindTunnelPackDescriptor(String packId, String domainId, String label, String description, String experimentId, String routeBasePath, String artifactRoot, String scenarioId, boolean enabledByDefault) Creates an instance of aPolicyWindTunnelPackDescriptorrecord class.- Parameters:
packId- the value for thepackIdrecord componentdomainId- the value for thedomainIdrecord componentlabel- the value for thelabelrecord componentdescription- the value for thedescriptionrecord componentexperimentId- the value for theexperimentIdrecord componentrouteBasePath- the value for therouteBasePathrecord componentartifactRoot- the value for theartifactRootrecord componentscenarioId- the value for thescenarioIdrecord componentenabledByDefault- the value for theenabledByDefaultrecord component
-
-
Method Details
-
runStatusPathPrefix
-
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 '=='. -
packId
Returns the value of thepackIdrecord component.- Returns:
- the value of the
packIdrecord component
-
domainId
Returns the value of thedomainIdrecord component.- Returns:
- the value of the
domainIdrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
experimentId
Returns the value of theexperimentIdrecord component.- Returns:
- the value of the
experimentIdrecord component
-
routeBasePath
Returns the value of therouteBasePathrecord component.- Returns:
- the value of the
routeBasePathrecord component
-
artifactRoot
Returns the value of theartifactRootrecord component.- Returns:
- the value of the
artifactRootrecord component
-
scenarioId
Returns the value of thescenarioIdrecord component.- Returns:
- the value of the
scenarioIdrecord component
-
enabledByDefault
public boolean enabledByDefault()Returns the value of theenabledByDefaultrecord component.- Returns:
- the value of the
enabledByDefaultrecord component
-