Class WebJobInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.WebJobInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Web Job Information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: Error information.Get the extraInfoUrl property: Extra Info URL.static WebJobInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WebJobInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.Get the runCommand property: Run command.settings()Get the settings property: Job settings.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.url()Get the url property: Job URL.usingSdk()Get the usingSdk property: Using SDK?.voidvalidate()Validates the instance.Get the webJobType property: Job type.Set the error property: Error information.withExtraInfoUrl(String extraInfoUrl) Set the extraInfoUrl property: Extra Info URL.Set the kind property: Kind of resource.withRunCommand(String runCommand) Set the runCommand property: Run command.withSettings(Map<String, Object> settings) Set the settings property: Job settings.Set the url property: Job URL.withUsingSdk(Boolean usingSdk) Set the usingSdk property: Using SDK?.withWebJobType(WebJobType webJobType) Set the webJobType property: Job type.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods 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
-
WebJobInner
public WebJobInner()Creates an instance of WebJobInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
runCommand
Get the runCommand property: Run command.- Returns:
- the runCommand value.
-
withRunCommand
Set the runCommand property: Run command.- Parameters:
runCommand- the runCommand value to set.- Returns:
- the WebJobInner object itself.
-
url
Get the url property: Job URL.- Returns:
- the url value.
-
withUrl
Set the url property: Job URL.- Parameters:
url- the url value to set.- Returns:
- the WebJobInner object itself.
-
extraInfoUrl
Get the extraInfoUrl property: Extra Info URL.- Returns:
- the extraInfoUrl value.
-
withExtraInfoUrl
Set the extraInfoUrl property: Extra Info URL.- Parameters:
extraInfoUrl- the extraInfoUrl value to set.- Returns:
- the WebJobInner object itself.
-
webJobType
Get the webJobType property: Job type.- Returns:
- the webJobType value.
-
withWebJobType
Set the webJobType property: Job type.- Parameters:
webJobType- the webJobType value to set.- Returns:
- the WebJobInner object itself.
-
error
Get the error property: Error information.- Returns:
- the error value.
-
withError
Set the error property: Error information.- Parameters:
error- the error value to set.- Returns:
- the WebJobInner object itself.
-
usingSdk
Get the usingSdk property: Using SDK?.- Returns:
- the usingSdk value.
-
withUsingSdk
Set the usingSdk property: Using SDK?.- Parameters:
usingSdk- the usingSdk value to set.- Returns:
- the WebJobInner object itself.
-
settings
Get the settings property: Job settings.- Returns:
- the settings value.
-
withSettings
Set the settings property: Job settings.- Parameters:
settings- the settings value to set.- Returns:
- the WebJobInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
Reads an instance of WebJobInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WebJobInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the WebJobInner.
-