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