com.azure.resourcemanager.elastic.models.SendingLogs 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.elastic.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* SendingLogs
*
* Flag indicating the status of the resource for sending logs operation to Elastic.
*/
public final class SendingLogs extends ExpandableStringEnum {
/** Static value True for SendingLogs. */
public static final SendingLogs TRUE = fromString("True");
/** Static value False for SendingLogs. */
public static final SendingLogs FALSE = fromString("False");
/**
* Creates a new instance of SendingLogs value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SendingLogs() {
}
/**
* Creates or finds a SendingLogs from its string representation.
*
* @param name a name to look for.
* @return the corresponding SendingLogs.
*/
@JsonCreator
public static SendingLogs fromString(String name) {
return fromString(name, SendingLogs.class);
}
/**
* Gets known SendingLogs values.
*
* @return known SendingLogs values.
*/
public static Collection values() {
return values(SendingLogs.class);
}
}