MetadataItem Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. MetadataItem
- com.
public final class MetadataItem
Specify the name and value of custom metadata item.
Constructor Summary
Constructor | Description |
---|---|
MetadataItem() |
Creates an instance of Metadata |
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. |
Metadata |
withName(Object name)
Set the name property: Metadata item key name. |
Metadata |
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:
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:
withName
public MetadataItem withName(Object name)
Set the name property: Metadata item key name. Type: string (or Expression with resultType string).
Parameters:
Returns:
withValue
public MetadataItem withValue(Object value)
Set the value property: Metadata item value. Type: string (or Expression with resultType string).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for