Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import com.microsoft.azure.management.appservice.TriggeredJobRun; import com.microsoft.azure.management.appservice.WebJobType; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Triggered Web Job Information.
/** * Triggered Web Job Information. */
@JsonFlatten public class TriggeredWebJobInner extends ProxyOnlyResource {
Latest job run information.
/** * Latest job run information. */
@JsonProperty(value = "properties.latest_run") private TriggeredJobRun latestRun;
History URL.
/** * History URL. */
@JsonProperty(value = "properties.history_url") private String historyUrl;
Scheduler Logs URL.
/** * Scheduler Logs URL. */
@JsonProperty(value = "properties.scheduler_logs_url") private String schedulerLogsUrl;
Run command.
/** * Run command. */
@JsonProperty(value = "properties.run_command") private String runCommand;
Job URL.
/** * Job URL. */
@JsonProperty(value = "properties.url") private String url;
Extra Info URL.
/** * Extra Info URL. */
@JsonProperty(value = "properties.extra_info_url") private String extraInfoUrl;
Job type. Possible values include: 'Continuous', 'Triggered'.
/** * Job type. Possible values include: 'Continuous', 'Triggered'. */
@JsonProperty(value = "properties.web_job_type") private WebJobType webJobType;
Error information.
/** * Error information. */
@JsonProperty(value = "properties.error") private String error;
Using SDK?.
/** * Using SDK?. */
@JsonProperty(value = "properties.using_sdk") private Boolean usingSdk;
Job settings.
/** * Job settings. */
@JsonProperty(value = "properties.settings") private Map<String, Object> settings;
Get latest job run information.
Returns:the latestRun value
/** * Get latest job run information. * * @return the latestRun value */
public TriggeredJobRun latestRun() { return this.latestRun; }
Set latest job run information.
Params:
  • latestRun – the latestRun value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set latest job run information. * * @param latestRun the latestRun value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun) { this.latestRun = latestRun; return this; }
Get history URL.
Returns:the historyUrl value
/** * Get history URL. * * @return the historyUrl value */
public String historyUrl() { return this.historyUrl; }
Set history URL.
Params:
  • historyUrl – the historyUrl value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set history URL. * * @param historyUrl the historyUrl value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withHistoryUrl(String historyUrl) { this.historyUrl = historyUrl; return this; }
Get scheduler Logs URL.
Returns:the schedulerLogsUrl value
/** * Get scheduler Logs URL. * * @return the schedulerLogsUrl value */
public String schedulerLogsUrl() { return this.schedulerLogsUrl; }
Set scheduler Logs URL.
Params:
  • schedulerLogsUrl – the schedulerLogsUrl value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set scheduler Logs URL. * * @param schedulerLogsUrl the schedulerLogsUrl value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl) { this.schedulerLogsUrl = schedulerLogsUrl; return this; }
Get run command.
Returns:the runCommand value
/** * Get run command. * * @return the runCommand value */
public String runCommand() { return this.runCommand; }
Set run command.
Params:
  • runCommand – the runCommand value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set run command. * * @param runCommand the runCommand value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withRunCommand(String runCommand) { this.runCommand = runCommand; return this; }
Get job URL.
Returns:the url value
/** * Get job URL. * * @return the url value */
public String url() { return this.url; }
Set job URL.
Params:
  • url – the url value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set job URL. * * @param url the url value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withUrl(String url) { this.url = url; return this; }
Get extra Info URL.
Returns:the extraInfoUrl value
/** * Get extra Info URL. * * @return the extraInfoUrl value */
public String extraInfoUrl() { return this.extraInfoUrl; }
Set extra Info URL.
Params:
  • extraInfoUrl – the extraInfoUrl value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withExtraInfoUrl(String extraInfoUrl) { this.extraInfoUrl = extraInfoUrl; return this; }
Get job type. Possible values include: 'Continuous', 'Triggered'.
Returns:the webJobType value
/** * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the webJobType value */
public WebJobType webJobType() { return this.webJobType; }
Set job type. Possible values include: 'Continuous', 'Triggered'.
Params:
  • webJobType – the webJobType value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param webJobType the webJobType value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withWebJobType(WebJobType webJobType) { this.webJobType = webJobType; return this; }
Get error information.
Returns:the error value
/** * Get error information. * * @return the error value */
public String error() { return this.error; }
Set error information.
Params:
  • error – the error value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set error information. * * @param error the error value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withError(String error) { this.error = error; return this; }
Get using SDK?.
Returns:the usingSdk value
/** * Get using SDK?. * * @return the usingSdk value */
public Boolean usingSdk() { return this.usingSdk; }
Set using SDK?.
Params:
  • usingSdk – the usingSdk value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withUsingSdk(Boolean usingSdk) { this.usingSdk = usingSdk; return this; }
Get job settings.
Returns:the settings value
/** * Get job settings. * * @return the settings value */
public Map<String, Object> settings() { return this.settings; }
Set job settings.
Params:
  • settings – the settings value to set
Returns:the TriggeredWebJobInner object itself.
/** * Set job settings. * * @param settings the settings value to set * @return the TriggeredWebJobInner object itself. */
public TriggeredWebJobInner withSettings(Map<String, Object> settings) { this.settings = settings; return this; } }