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.resources.implementation; import com.microsoft.azure.management.resources.ErrorResponse; import com.fasterxml.jackson.annotation.JsonProperty;
Resource group export result.
/** * Resource group export result. */
public class ResourceGroupExportResultInner {
The template content.
/** * The template content. */
@JsonProperty(value = "template") private Object template;
The template export error.
/** * The template export error. */
@JsonProperty(value = "error") private ErrorResponse error;
Get the template content.
Returns:the template value
/** * Get the template content. * * @return the template value */
public Object template() { return this.template; }
Set the template content.
Params:
  • template – the template value to set
Returns:the ResourceGroupExportResultInner object itself.
/** * Set the template content. * * @param template the template value to set * @return the ResourceGroupExportResultInner object itself. */
public ResourceGroupExportResultInner withTemplate(Object template) { this.template = template; return this; }
Get the template export error.
Returns:the error value
/** * Get the template export error. * * @return the error value */
public ErrorResponse error() { return this.error; }
Set the template export error.
Params:
  • error – the error value to set
Returns:the ResourceGroupExportResultInner object itself.
/** * Set the template export error. * * @param error the error value to set * @return the ResourceGroupExportResultInner object itself. */
public ResourceGroupExportResultInner withError(ErrorResponse error) { this.error = error; return this; } }