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.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for HyperVGenerationType.
/** * Defines values for HyperVGenerationType. */
public final class HyperVGenerationType extends ExpandableStringEnum<HyperVGenerationType> {
Static value V1 for HyperVGenerationType.
/** Static value V1 for HyperVGenerationType. */
public static final HyperVGenerationType V1 = fromString("V1");
Static value V2 for HyperVGenerationType.
/** Static value V2 for HyperVGenerationType. */
public static final HyperVGenerationType V2 = fromString("V2");
Creates or finds a HyperVGenerationType from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding HyperVGenerationType
/** * Creates or finds a HyperVGenerationType from its string representation. * @param name a name to look for * @return the corresponding HyperVGenerationType */
@JsonCreator public static HyperVGenerationType fromString(String name) { return fromString(name, HyperVGenerationType.class); }
Returns:known HyperVGenerationType values
/** * @return known HyperVGenerationType values */
public static Collection<HyperVGenerationType> values() { return values(HyperVGenerationType.class); } }