Class DatasetSchemaDataElement


  • public final class DatasetSchemaDataElement
    extends Object
    Columns that define the physical type schema of the dataset.
    • Constructor Detail

      • DatasetSchemaDataElement

        public DatasetSchemaDataElement()
    • Method Detail

      • name

        public Object name()
        Get the name property: Name of the schema column. Type: string (or Expression with resultType string).
        Returns:
        the name value.
      • withName

        public DatasetSchemaDataElement withName​(Object name)
        Set the name property: Name of the schema column. Type: string (or Expression with resultType string).
        Parameters:
        name - the name value to set.
        Returns:
        the DatasetSchemaDataElement object itself.
      • type

        public Object type()
        Get the type property: Type of the schema column. Type: string (or Expression with resultType string).
        Returns:
        the type value.
      • withType

        public DatasetSchemaDataElement withType​(Object type)
        Set the type property: Type of the schema column. Type: string (or Expression with resultType string).
        Parameters:
        type - the type value to set.
        Returns:
        the DatasetSchemaDataElement object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Columns that define the physical type schema of the dataset.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public DatasetSchemaDataElement withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Columns that define the physical type schema of the dataset.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the DatasetSchemaDataElement object itself.
      • validate

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