com.pulumi.googlenative.firebasehosting.v1beta1.enums.ServingConfigTrailingSlashBehavior 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.googlenative.firebasehosting.v1beta1.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Defines how to handle a trailing slash in the URL path.
*
*/
@EnumType
public enum ServingConfigTrailingSlashBehavior {
/**
* No behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
*
*/
TrailingSlashBehaviorUnspecified("TRAILING_SLASH_BEHAVIOR_UNSPECIFIED"),
/**
* Trailing slashes are _added_ to directory indexes as well as to any URL path not ending in a file extension.
*
*/
Add("ADD"),
/**
* Trailing slashes are _removed_ from directory indexes as well as from any URL path not ending in a file extension.
*
*/
Remove("REMOVE");
private final String value;
ServingConfigTrailingSlashBehavior(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "ServingConfigTrailingSlashBehavior[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy