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 LoadDistribution.
/** * Defines values for LoadDistribution. */
public final class LoadDistribution extends ExpandableStringEnum<LoadDistribution> {
Static value Default for LoadDistribution.
/** Static value Default for LoadDistribution. */
public static final LoadDistribution DEFAULT = fromString("Default");
Static value SourceIP for LoadDistribution.
/** Static value SourceIP for LoadDistribution. */
public static final LoadDistribution SOURCE_IP = fromString("SourceIP");
Static value SourceIPProtocol for LoadDistribution.
/** Static value SourceIPProtocol for LoadDistribution. */
public static final LoadDistribution SOURCE_IPPROTOCOL = fromString("SourceIPProtocol");
Creates or finds a LoadDistribution from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding LoadDistribution
/** * Creates or finds a LoadDistribution from its string representation. * @param name a name to look for * @return the corresponding LoadDistribution */
@JsonCreator public static LoadDistribution fromString(String name) { return fromString(name, LoadDistribution.class); }
Returns:known LoadDistribution values
/** * @return known LoadDistribution values */
public static Collection<LoadDistribution> values() { return values(LoadDistribution.class); } }