Class MetadataItem

java.lang.Object
com.azure.resourcemanager.datafactory.models.MetadataItem

public final class MetadataItem extends Object
Specify the name and value of custom metadata item.
  • Constructor Details

    • MetadataItem

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

    • name

      public Object name()
      Get the name property: Metadata item key name. Type: string (or Expression with resultType string).
      Returns:
      the name value.
    • withName

      public MetadataItem withName(Object name)
      Set the name property: Metadata item key name. Type: string (or Expression with resultType string).
      Parameters:
      name - the name value to set.
      Returns:
      the MetadataItem object itself.
    • value

      public Object value()
      Get the value property: Metadata item value. Type: string (or Expression with resultType string).
      Returns:
      the value value.
    • withValue

      public MetadataItem withValue(Object value)
      Set the value property: Metadata item value. Type: string (or Expression with resultType string).
      Parameters:
      value - the value value to set.
      Returns:
      the MetadataItem object itself.
    • validate

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