MetadataItem Class

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

public final class MetadataItem

Specify the name and value of custom metadata item.

Constructor Summary

Constructor Description
MetadataItem()

Creates an instance of MetadataItem class.

Method Summary

Modifier and Type Method and Description
Object name()

Get the name property: Metadata item key name.

void validate()

Validates the instance.

Object value()

Get the value property: Metadata item value.

MetadataItem withName(Object name)

Set the name property: Metadata item key name.

MetadataItem withValue(Object value)

Set the value property: Metadata item value.

Methods inherited from java.lang.Object

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.

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: Metadata item value. Type: string (or Expression with resultType string).

Returns:

the value 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.

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.

Applies to