// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for AmazonRdsForOraclePartitionOption. */
public final class AmazonRdsForOraclePartitionOption extends ExpandableStringEnum<AmazonRdsForOraclePartitionOption> {
    /** Static value None for AmazonRdsForOraclePartitionOption. */
    public static final AmazonRdsForOraclePartitionOption NONE = fromString("None");

    /** Static value PhysicalPartitionsOfTable for AmazonRdsForOraclePartitionOption. */
    public static final AmazonRdsForOraclePartitionOption PHYSICAL_PARTITIONS_OF_TABLE =
            fromString("PhysicalPartitionsOfTable");

    /** Static value DynamicRange for AmazonRdsForOraclePartitionOption. */
    public static final AmazonRdsForOraclePartitionOption DYNAMIC_RANGE = fromString("DynamicRange");

    /**
     * Creates or finds a AmazonRdsForOraclePartitionOption from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AmazonRdsForOraclePartitionOption.
     */
    @JsonCreator
    public static AmazonRdsForOraclePartitionOption fromString(String name) {
        return fromString(name, AmazonRdsForOraclePartitionOption.class);
    }

    /**
     * Gets known AmazonRdsForOraclePartitionOption values.
     *
     * @return known AmazonRdsForOraclePartitionOption values.
     */
    public static Collection<AmazonRdsForOraclePartitionOption> values() {
        return values(AmazonRdsForOraclePartitionOption.class);
    }
}
