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 PcError.
/** * Defines values for PcError. */
public final class PcError extends ExpandableStringEnum<PcError> {
Static value InternalError for PcError.
/** Static value InternalError for PcError. */
public static final PcError INTERNAL_ERROR = fromString("InternalError");
Static value AgentStopped for PcError.
/** Static value AgentStopped for PcError. */
public static final PcError AGENT_STOPPED = fromString("AgentStopped");
Static value CaptureFailed for PcError.
/** Static value CaptureFailed for PcError. */
public static final PcError CAPTURE_FAILED = fromString("CaptureFailed");
Static value LocalFileFailed for PcError.
/** Static value LocalFileFailed for PcError. */
public static final PcError LOCAL_FILE_FAILED = fromString("LocalFileFailed");
Static value StorageFailed for PcError.
/** Static value StorageFailed for PcError. */
public static final PcError STORAGE_FAILED = fromString("StorageFailed");
Creates or finds a PcError from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding PcError
/** * Creates or finds a PcError from its string representation. * @param name a name to look for * @return the corresponding PcError */
@JsonCreator public static PcError fromString(String name) { return fromString(name, PcError.class); }
Returns:known PcError values
/** * @return known PcError values */
public static Collection<PcError> values() { return values(PcError.class); } }