com.pulumi.aws.appmesh.outputs.GatewayRouteSpecHttpRouteMatchPath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.appmesh.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GatewayRouteSpecHttpRouteMatchPath {
/**
* @return The exact path to match on.
*
*/
private @Nullable String exact;
/**
* @return The regex used to match the path.
*
*/
private @Nullable String regex;
private GatewayRouteSpecHttpRouteMatchPath() {}
/**
* @return The exact path to match on.
*
*/
public Optional exact() {
return Optional.ofNullable(this.exact);
}
/**
* @return The regex used to match the path.
*
*/
public Optional regex() {
return Optional.ofNullable(this.regex);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GatewayRouteSpecHttpRouteMatchPath defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String exact;
private @Nullable String regex;
public Builder() {}
public Builder(GatewayRouteSpecHttpRouteMatchPath defaults) {
Objects.requireNonNull(defaults);
this.exact = defaults.exact;
this.regex = defaults.regex;
}
@CustomType.Setter
public Builder exact(@Nullable String exact) {
this.exact = exact;
return this;
}
@CustomType.Setter
public Builder regex(@Nullable String regex) {
this.regex = regex;
return this;
}
public GatewayRouteSpecHttpRouteMatchPath build() {
final var _resultValue = new GatewayRouteSpecHttpRouteMatchPath();
_resultValue.exact = exact;
_resultValue.regex = regex;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy