
com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.iotoperations.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* The strategy to use for dropping messages from the queue.
*
*/
@EnumType
public enum SubscriberMessageDropStrategy {
/**
* Messages are never dropped.
*
*/
None("None"),
/**
* The oldest message is dropped.
*
*/
DropOldest("DropOldest");
private final String value;
SubscriberMessageDropStrategy(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "SubscriberMessageDropStrategy[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy