com.azure.resourcemanager.servicelinker.models.DaprBindingComponentDirection 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.servicelinker.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The direction supported by the dapr binding component.
*/
public final class DaprBindingComponentDirection extends ExpandableStringEnum {
/**
* Static value input for DaprBindingComponentDirection.
*/
public static final DaprBindingComponentDirection INPUT = fromString("input");
/**
* Static value output for DaprBindingComponentDirection.
*/
public static final DaprBindingComponentDirection OUTPUT = fromString("output");
/**
* Creates a new instance of DaprBindingComponentDirection value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DaprBindingComponentDirection() {
}
/**
* Creates or finds a DaprBindingComponentDirection from its string representation.
*
* @param name a name to look for.
* @return the corresponding DaprBindingComponentDirection.
*/
public static DaprBindingComponentDirection fromString(String name) {
return fromString(name, DaprBindingComponentDirection.class);
}
/**
* Gets known DaprBindingComponentDirection values.
*
* @return known DaprBindingComponentDirection values.
*/
public static Collection values() {
return values(DaprBindingComponentDirection.class);
}
}