com.azure.resourcemanager.recoveryservicesbackup.models.OverwriteOptions Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* Can Overwrite if Target DataBase already exists.
*/
public final class OverwriteOptions extends ExpandableStringEnum {
/**
* Static value Invalid for OverwriteOptions.
*/
public static final OverwriteOptions INVALID = fromString("Invalid");
/**
* Static value FailOnConflict for OverwriteOptions.
*/
public static final OverwriteOptions FAIL_ON_CONFLICT = fromString("FailOnConflict");
/**
* Static value Overwrite for OverwriteOptions.
*/
public static final OverwriteOptions OVERWRITE = fromString("Overwrite");
/**
* Creates a new instance of OverwriteOptions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public OverwriteOptions() {
}
/**
* Creates or finds a OverwriteOptions from its string representation.
*
* @param name a name to look for.
* @return the corresponding OverwriteOptions.
*/
@JsonCreator
public static OverwriteOptions fromString(String name) {
return fromString(name, OverwriteOptions.class);
}
/**
* Gets known OverwriteOptions values.
*
* @return known OverwriteOptions values.
*/
public static Collection values() {
return values(OverwriteOptions.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy