com.azure.resourcemanager.securityinsights.models.AntispamMailDirection 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;
/**
* The directionality of this mail message.
*/
public final class AntispamMailDirection extends ExpandableStringEnum {
/**
* Static value Unknown for AntispamMailDirection.
*/
public static final AntispamMailDirection UNKNOWN = fromString("Unknown");
/**
* Static value Inbound for AntispamMailDirection.
*/
public static final AntispamMailDirection INBOUND = fromString("Inbound");
/**
* Static value Outbound for AntispamMailDirection.
*/
public static final AntispamMailDirection OUTBOUND = fromString("Outbound");
/**
* Static value Intraorg for AntispamMailDirection.
*/
public static final AntispamMailDirection INTRAORG = fromString("Intraorg");
/**
* Creates a new instance of AntispamMailDirection value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AntispamMailDirection() {
}
/**
* Creates or finds a AntispamMailDirection from its string representation.
*
* @param name a name to look for.
* @return the corresponding AntispamMailDirection.
*/
public static AntispamMailDirection fromString(String name) {
return fromString(name, AntispamMailDirection.class);
}
/**
* Gets known AntispamMailDirection values.
*
* @return known AntispamMailDirection values.
*/
public static Collection values() {
return values(AntispamMailDirection.class);
}
}