BatchMetadataItem Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchMetadataItem
- com.
Implements
public final class BatchMetadataItem
implements JsonSerializable<BatchMetadataItem>
The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchMetadataItem(String name, String value) |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| String |
getName()
Get the name property: The name of the metadata item. |
| String |
getValue()
Get the value property: The value of the metadata item. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchMetadataItem
public BatchMetadataItem(String name, String value)
Creates an instance of BatchMetadataItem class.
Parameters:
Method Details
fromJson
public static BatchMetadataItem fromJson(JsonReader jsonReader)
Reads an instance of BatchMetadataItem from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the metadata item.
Returns:
getValue
public String getValue()
Get the value property: The value of the metadata item.
Returns: