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.ValidateResponseError; import com.fasterxml.jackson.annotation.JsonProperty;
Describes the result of resource validation.
/** * Describes the result of resource validation. */
public class ValidateResponseInner {
Result of validation.
/** * Result of validation. */
@JsonProperty(value = "status") private String status;
Error details for the case when validation fails.
/** * Error details for the case when validation fails. */
@JsonProperty(value = "error") private ValidateResponseError error;
Get result of validation.
Returns:the status value
/** * Get result of validation. * * @return the status value */
public String status() { return this.status; }
Set result of validation.
Params:
  • status – the status value to set
Returns:the ValidateResponseInner object itself.
/** * Set result of validation. * * @param status the status value to set * @return the ValidateResponseInner object itself. */
public ValidateResponseInner withStatus(String status) { this.status = status; return this; }
Get error details for the case when validation fails.
Returns:the error value
/** * Get error details for the case when validation fails. * * @return the error value */
public ValidateResponseError error() { return this.error; }
Set error details for the case when validation fails.
Params:
  • error – the error value to set
Returns:the ValidateResponseInner object itself.
/** * Set error details for the case when validation fails. * * @param error the error value to set * @return the ValidateResponseInner object itself. */
public ValidateResponseInner withError(ValidateResponseError error) { this.error = error; return this; } }