MetadataItem Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. MetadataItem
- com.
public class MetadataItem
A name-value pair associated with a Batch service resource. The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.
Constructor Summary
Constructor | Description | |
---|---|---|
MetadataItem() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
value()
Get the value value. |
Metadata |
withName(String name)
Set the name value. |
Metadata |
withValue(String value)
Set the value value. |
Methods inherited from java.lang.Object
Constructor Details
MetadataItem
public MetadataItem()
Method Details
name
public String name()
Get the name value.
Returns:
value
public String value()
Get the value value.
Returns:
withName
public MetadataItem withName(String name)
Set the name value.
Parameters:
Returns:
withValue
public MetadataItem withValue(String value)
Set the value value.
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