Class ComputeUnitsMetadata
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.ComputeUnitsMetadata
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ComputeUnitsMetadata>
public final class ComputeUnitsMetadata
extends Object
implements com.azure.json.JsonSerializable<ComputeUnitsMetadata>
Informatica Serverless Runtime Application type Metadata.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComputeUnitsMetadatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ComputeUnitsMetadata from the JsonReader.name()Get the name property: ComputeUnit name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: ComputeUnit value.
-
Method Details
-
name
Get the name property: ComputeUnit name.- Returns:
- the name value.
-
value
Get the value property: ComputeUnit value.- Returns:
- the value value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ComputeUnitsMetadata>- Throws:
IOException
-
fromJson
public static ComputeUnitsMetadata fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ComputeUnitsMetadata from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ComputeUnitsMetadata if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ComputeUnitsMetadata.
-