
com.pulumi.azurenative.servicefabricmesh.outputs.HttpRouteMatchPathResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.servicefabricmesh.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HttpRouteMatchPathResponse {
/**
* @return replacement string for matched part of the Uri.
*
*/
private @Nullable String rewrite;
/**
* @return how to match value in the Uri
*
*/
private String type;
/**
* @return Uri path to match for request.
*
*/
private String value;
private HttpRouteMatchPathResponse() {}
/**
* @return replacement string for matched part of the Uri.
*
*/
public Optional rewrite() {
return Optional.ofNullable(this.rewrite);
}
/**
* @return how to match value in the Uri
*
*/
public String type() {
return this.type;
}
/**
* @return Uri path to match for request.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HttpRouteMatchPathResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String rewrite;
private String type;
private String value;
public Builder() {}
public Builder(HttpRouteMatchPathResponse defaults) {
Objects.requireNonNull(defaults);
this.rewrite = defaults.rewrite;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder rewrite(@Nullable String rewrite) {
this.rewrite = rewrite;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("HttpRouteMatchPathResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("HttpRouteMatchPathResponse", "value");
}
this.value = value;
return this;
}
public HttpRouteMatchPathResponse build() {
final var _resultValue = new HttpRouteMatchPathResponse();
_resultValue.rewrite = rewrite;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy