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.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Describes the disallowed disk types.
/**
* Describes the disallowed disk types.
*/
public class Disallowed {
A list of disk types.
/**
* A list of disk types.
*/
@JsonProperty(value = "diskTypes")
private List<String> diskTypes;
Get a list of disk types.
Returns: the diskTypes value
/**
* Get a list of disk types.
*
* @return the diskTypes value
*/
public List<String> diskTypes() {
return this.diskTypes;
}
Set a list of disk types.
Params: - diskTypes – the diskTypes value to set
Returns: the Disallowed object itself.
/**
* Set a list of disk types.
*
* @param diskTypes the diskTypes value to set
* @return the Disallowed object itself.
*/
public Disallowed withDiskTypes(List<String> diskTypes) {
this.diskTypes = diskTypes;
return this;
}
}