Class DataManifestResourceFunctionsDefinition
java.lang.Object
com.azure.resourcemanager.resources.fluent.models.DataManifestResourceFunctionsDefinition
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DataManifestResourceFunctionsDefinition>
public final class DataManifestResourceFunctionsDefinition
extends Object
implements com.azure.json.JsonSerializable<DataManifestResourceFunctionsDefinition>
The resource functions supported by a manifest.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataManifestResourceFunctionsDefinition class. -
Method Summary
Modifier and TypeMethodDescriptioncustom()Get the custom property: An array of data manifest custom resource definition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DataManifestResourceFunctionsDefinition from the JsonReader.standard()Get the standard property: The standard resource functions (subscription and/or resourceGroup).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the custom property: An array of data manifest custom resource definition.withStandard(List<String> standard) Set the standard property: The standard resource functions (subscription and/or resourceGroup).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataManifestResourceFunctionsDefinition
public DataManifestResourceFunctionsDefinition()Creates an instance of DataManifestResourceFunctionsDefinition class.
-
-
Method Details
-
standard
Get the standard property: The standard resource functions (subscription and/or resourceGroup).- Returns:
- the standard value.
-
withStandard
Set the standard property: The standard resource functions (subscription and/or resourceGroup).- Parameters:
standard- the standard value to set.- Returns:
- the DataManifestResourceFunctionsDefinition object itself.
-
custom
Get the custom property: An array of data manifest custom resource definition.- Returns:
- the custom value.
-
withCustom
public DataManifestResourceFunctionsDefinition withCustom(List<DataManifestCustomResourceFunctionDefinition> custom) Set the custom property: An array of data manifest custom resource definition.- Parameters:
custom- the custom value to set.- Returns:
- the DataManifestResourceFunctionsDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DataManifestResourceFunctionsDefinition>- Throws:
IOException
-
fromJson
public static DataManifestResourceFunctionsDefinition fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DataManifestResourceFunctionsDefinition from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DataManifestResourceFunctionsDefinition 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 DataManifestResourceFunctionsDefinition.
-