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 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 a PolicyWindTunnelPackDescriptor record class.
      Parameters:
      packId - the value for the packId record component
      domainId - the value for the domainId record component
      label - the value for the label record component
      description - the value for the description record component
      experimentId - the value for the experimentId record component
      routeBasePath - the value for the routeBasePath record component
      artifactRoot - the value for the artifactRoot record component
      scenarioId - the value for the scenarioId record component
      enabledByDefault - the value for the enabledByDefault record component
  • Method Details

    • runStatusPathPrefix

      public String runStatusPathPrefix()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • packId

      public String packId()
      Returns the value of the packId record component.
      Returns:
      the value of the packId record component
    • domainId

      public String domainId()
      Returns the value of the domainId record component.
      Returns:
      the value of the domainId record component
    • label

      public String label()
      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • experimentId

      public String experimentId()
      Returns the value of the experimentId record component.
      Returns:
      the value of the experimentId record component
    • routeBasePath

      public String routeBasePath()
      Returns the value of the routeBasePath record component.
      Returns:
      the value of the routeBasePath record component
    • artifactRoot

      public String artifactRoot()
      Returns the value of the artifactRoot record component.
      Returns:
      the value of the artifactRoot record component
    • scenarioId

      public String scenarioId()
      Returns the value of the scenarioId record component.
      Returns:
      the value of the scenarioId record component
    • enabledByDefault

      public boolean enabledByDefault()
      Returns the value of the enabledByDefault record component.
      Returns:
      the value of the enabledByDefault record component