Class WebJobProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.WebJobProperties
-
public final class WebJobProperties extends Object
WebJob resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description WebJobProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringerror()Get the error property: Error information.StringextraInfoUrl()Get the extraInfoUrl property: Extra Info URL.StringrunCommand()Get the runCommand property: Run command.Map<String,Object>settings()Get the settings property: Job settings.Stringurl()Get the url property: Job URL.BooleanusingSdk()Get the usingSdk property: Using SDK?.voidvalidate()Validates the instance.WebJobTypewebJobType()Get the webJobType property: Job type.WebJobPropertieswithError(String error)Set the error property: Error information.WebJobPropertieswithExtraInfoUrl(String extraInfoUrl)Set the extraInfoUrl property: Extra Info URL.WebJobPropertieswithRunCommand(String runCommand)Set the runCommand property: Run command.WebJobPropertieswithSettings(Map<String,Object> settings)Set the settings property: Job settings.WebJobPropertieswithUrl(String url)Set the url property: Job URL.WebJobPropertieswithUsingSdk(Boolean usingSdk)Set the usingSdk property: Using SDK?.WebJobPropertieswithWebJobType(WebJobType webJobType)Set the webJobType property: Job type.
-
-
-
Method Detail
-
runCommand
public String runCommand()
Get the runCommand property: Run command.- Returns:
- the runCommand value.
-
withRunCommand
public WebJobProperties withRunCommand(String runCommand)
Set the runCommand property: Run command.- Parameters:
runCommand- the runCommand value to set.- Returns:
- the WebJobProperties object itself.
-
url
public String url()
Get the url property: Job URL.- Returns:
- the url value.
-
withUrl
public WebJobProperties withUrl(String url)
Set the url property: Job URL.- Parameters:
url- the url value to set.- Returns:
- the WebJobProperties object itself.
-
extraInfoUrl
public String extraInfoUrl()
Get the extraInfoUrl property: Extra Info URL.- Returns:
- the extraInfoUrl value.
-
withExtraInfoUrl
public WebJobProperties withExtraInfoUrl(String extraInfoUrl)
Set the extraInfoUrl property: Extra Info URL.- Parameters:
extraInfoUrl- the extraInfoUrl value to set.- Returns:
- the WebJobProperties object itself.
-
webJobType
public WebJobType webJobType()
Get the webJobType property: Job type.- Returns:
- the webJobType value.
-
withWebJobType
public WebJobProperties withWebJobType(WebJobType webJobType)
Set the webJobType property: Job type.- Parameters:
webJobType- the webJobType value to set.- Returns:
- the WebJobProperties object itself.
-
error
public String error()
Get the error property: Error information.- Returns:
- the error value.
-
withError
public WebJobProperties withError(String error)
Set the error property: Error information.- Parameters:
error- the error value to set.- Returns:
- the WebJobProperties object itself.
-
usingSdk
public Boolean usingSdk()
Get the usingSdk property: Using SDK?.- Returns:
- the usingSdk value.
-
withUsingSdk
public WebJobProperties withUsingSdk(Boolean usingSdk)
Set the usingSdk property: Using SDK?.- Parameters:
usingSdk- the usingSdk value to set.- Returns:
- the WebJobProperties object itself.
-
settings
public Map<String,Object> settings()
Get the settings property: Job settings.- Returns:
- the settings value.
-
withSettings
public WebJobProperties withSettings(Map<String,Object> settings)
Set the settings property: Job settings.- Parameters:
settings- the settings value to set.- Returns:
- the WebJobProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-