Record Class DashScopeApiSpec.UpsertPipelineRequest

java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.spec.DashScopeApiSpec.UpsertPipelineRequest
Enclosing class:
DashScopeApiSpec

public static record DashScopeApiSpec.UpsertPipelineRequest(String name, String pipelineType, String pipelineDescription, String dataType, String configModel, List transformations, List<DashScopeApiSpec.DataSourcesConfig> dataSources, List<DashScopeApiSpec.DataSinksConfig> dataSinks) extends Record
  • Constructor Details

    • UpsertPipelineRequest

      public UpsertPipelineRequest(String name, String pipelineType, String pipelineDescription, String dataType, String configModel, List transformations, List<DashScopeApiSpec.DataSourcesConfig> dataSources, List<DashScopeApiSpec.DataSinksConfig> dataSinks)
      Creates an instance of a UpsertPipelineRequest record class.
      Parameters:
      name - the value for the name record component
      pipelineType - the value for the pipelineType record component
      pipelineDescription - the value for the pipelineDescription record component
      dataType - the value for the dataType record component
      configModel - the value for the configModel record component
      transformations - the value for the transformations record component
      dataSources - the value for the dataSources record component
      dataSinks - the value for the dataSinks record component
  • Method Details

    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • pipelineType

      public String pipelineType()
      Returns the value of the pipelineType record component.
      Returns:
      the value of the pipelineType record component
    • pipelineDescription

      public String pipelineDescription()
      Returns the value of the pipelineDescription record component.
      Returns:
      the value of the pipelineDescription record component
    • dataType

      public String dataType()
      Returns the value of the dataType record component.
      Returns:
      the value of the dataType record component
    • configModel

      public String configModel()
      Returns the value of the configModel record component.
      Returns:
      the value of the configModel record component
    • transformations

      public List transformations()
      Returns the value of the transformations record component.
      Returns:
      the value of the transformations record component
    • dataSources

      Returns the value of the dataSources record component.
      Returns:
      the value of the dataSources record component
    • dataSinks

      Returns the value of the dataSinks record component.
      Returns:
      the value of the dataSinks record component