com.microsoft.azure.batch.protocol.models.VMExtensionInstanceView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-batch Show documentation
Show all versions of azure-batch Show documentation
This package contains the root module of Microsoft Azure Batch SDK.
/**
* 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.batch.protocol.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The vm extension instance view.
*/
public class VMExtensionInstanceView {
/**
* The name of the vm extension instance view.
*/
@JsonProperty(value = "name")
private String name;
/**
* The resource status information.
*/
@JsonProperty(value = "statuses")
private List statuses;
/**
* The resource status information.
*/
@JsonProperty(value = "subStatuses")
private List subStatuses;
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name value.
*
* @param name the name value to set
* @return the VMExtensionInstanceView object itself.
*/
public VMExtensionInstanceView withName(String name) {
this.name = name;
return this;
}
/**
* Get the resource status information.
*
* @return the statuses value
*/
public List statuses() {
return this.statuses;
}
/**
* Set the resource status information.
*
* @param statuses the statuses value to set
* @return the VMExtensionInstanceView object itself.
*/
public VMExtensionInstanceView withStatuses(List statuses) {
this.statuses = statuses;
return this;
}
/**
* Get the resource status information.
*
* @return the subStatuses value
*/
public List subStatuses() {
return this.subStatuses;
}
/**
* Set the resource status information.
*
* @param subStatuses the subStatuses value to set
* @return the VMExtensionInstanceView object itself.
*/
public VMExtensionInstanceView withSubStatuses(List subStatuses) {
this.subStatuses = subStatuses;
return this;
}
}