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 DhGroup.
/**
* Defines values for DhGroup.
*/
public final class DhGroup extends ExpandableStringEnum<DhGroup> {
Static value None for DhGroup. /** Static value None for DhGroup. */
public static final DhGroup NONE = fromString("None");
Static value DHGroup1 for DhGroup. /** Static value DHGroup1 for DhGroup. */
public static final DhGroup DHGROUP1 = fromString("DHGroup1");
Static value DHGroup2 for DhGroup. /** Static value DHGroup2 for DhGroup. */
public static final DhGroup DHGROUP2 = fromString("DHGroup2");
Static value DHGroup14 for DhGroup. /** Static value DHGroup14 for DhGroup. */
public static final DhGroup DHGROUP14 = fromString("DHGroup14");
Static value DHGroup2048 for DhGroup. /** Static value DHGroup2048 for DhGroup. */
public static final DhGroup DHGROUP2048 = fromString("DHGroup2048");
Static value ECP256 for DhGroup. /** Static value ECP256 for DhGroup. */
public static final DhGroup ECP256 = fromString("ECP256");
Static value ECP384 for DhGroup. /** Static value ECP384 for DhGroup. */
public static final DhGroup ECP384 = fromString("ECP384");
Static value DHGroup24 for DhGroup. /** Static value DHGroup24 for DhGroup. */
public static final DhGroup DHGROUP24 = fromString("DHGroup24");
Creates or finds a DhGroup from its string representation.
Params: - name – a name to look for
Returns: the corresponding DhGroup
/**
* Creates or finds a DhGroup from its string representation.
* @param name a name to look for
* @return the corresponding DhGroup
*/
@JsonCreator
public static DhGroup fromString(String name) {
return fromString(name, DhGroup.class);
}
Returns: known DhGroup values
/**
* @return known DhGroup values
*/
public static Collection<DhGroup> values() {
return values(DhGroup.class);
}
}