com.azure.resourcemanager.recoveryservicesbackup.models.CopyOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// 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;
/**
* Options to resolve copy conflicts.
*/
public final class CopyOptions extends ExpandableStringEnum {
/**
* Static value Invalid for CopyOptions.
*/
public static final CopyOptions INVALID = fromString("Invalid");
/**
* Static value CreateCopy for CopyOptions.
*/
public static final CopyOptions CREATE_COPY = fromString("CreateCopy");
/**
* Static value Skip for CopyOptions.
*/
public static final CopyOptions SKIP = fromString("Skip");
/**
* Static value Overwrite for CopyOptions.
*/
public static final CopyOptions OVERWRITE = fromString("Overwrite");
/**
* Static value FailOnConflict for CopyOptions.
*/
public static final CopyOptions FAIL_ON_CONFLICT = fromString("FailOnConflict");
/**
* Creates a new instance of CopyOptions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public CopyOptions() {
}
/**
* Creates or finds a CopyOptions from its string representation.
*
* @param name a name to look for.
* @return the corresponding CopyOptions.
*/
@JsonCreator
public static CopyOptions fromString(String name) {
return fromString(name, CopyOptions.class);
}
/**
* Gets known CopyOptions values.
*
* @return known CopyOptions values.
*/
public static Collection values() {
return values(CopyOptions.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy