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