com.azure.resourcemanager.securityinsights.models.IngestionMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-securityinsights Show documentation
Show all versions of azure-resourcemanager-securityinsights Show documentation
This package contains Microsoft Azure SDK for SecurityInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider. Package tag package-preview-2022-09.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.securityinsights.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Describes how to ingest the records in the file.
*/
public final class IngestionMode extends ExpandableStringEnum {
/**
* Static value IngestOnlyIfAllAreValid for IngestionMode.
*/
public static final IngestionMode INGEST_ONLY_IF_ALL_ARE_VALID = fromString("IngestOnlyIfAllAreValid");
/**
* Static value IngestAnyValidRecords for IngestionMode.
*/
public static final IngestionMode INGEST_ANY_VALID_RECORDS = fromString("IngestAnyValidRecords");
/**
* Static value Unspecified for IngestionMode.
*/
public static final IngestionMode UNSPECIFIED = fromString("Unspecified");
/**
* Creates a new instance of IngestionMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public IngestionMode() {
}
/**
* Creates or finds a IngestionMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding IngestionMode.
*/
public static IngestionMode fromString(String name) {
return fromString(name, IngestionMode.class);
}
/**
* Gets known IngestionMode values.
*
* @return known IngestionMode values.
*/
public static Collection values() {
return values(IngestionMode.class);
}
}