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 Summary
Constructors Constructor Description MetadataItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectname()Get the name property: Metadata item key name.voidvalidate()Validates the instance.Objectvalue()Get the value property: Metadata item value.MetadataItemwithName(Object name)Set the name property: Metadata item key name.MetadataItemwithValue(Object value)Set the value property: Metadata item value.
-
-
-
Method Detail
-
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.
-
-