Class ColumnTransformer

java.lang.Object
com.azure.resourcemanager.machinelearning.models.ColumnTransformer
All Implemented Interfaces:
com.azure.json.JsonSerializable<ColumnTransformer>

public final class ColumnTransformer extends Object implements com.azure.json.JsonSerializable<ColumnTransformer>
Column transformer parameters.
  • Constructor Details

    • ColumnTransformer

      public ColumnTransformer()
      Creates an instance of ColumnTransformer class.
  • Method Details

    • fields

      public List<String> fields()
      Get the fields property: Fields to apply transformer logic on.
      Returns:
      the fields value.
    • withFields

      public ColumnTransformer withFields(List<String> fields)
      Set the fields property: Fields to apply transformer logic on.
      Parameters:
      fields - the fields value to set.
      Returns:
      the ColumnTransformer object itself.
    • parameters

      public Object parameters()
      Get the parameters property: Different properties to be passed to transformer. Input expected is dictionary of key,value pairs in JSON format.
      Returns:
      the parameters value.
    • withParameters

      public ColumnTransformer withParameters(Object parameters)
      Set the parameters property: Different properties to be passed to transformer. Input expected is dictionary of key,value pairs in JSON format.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the ColumnTransformer object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ColumnTransformer>
      Throws:
      IOException
    • fromJson

      public static ColumnTransformer fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ColumnTransformer from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ColumnTransformer if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ColumnTransformer.