com.pulumi.googlenative.networkservices.v1.outputs.GrpcRouteHeaderMatchResponse 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.networkservices.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GrpcRouteHeaderMatchResponse {
/**
* @return The key of the header.
*
*/
private String key;
/**
* @return Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
*
*/
private String type;
/**
* @return The value of the header.
*
*/
private String value;
private GrpcRouteHeaderMatchResponse() {}
/**
* @return The key of the header.
*
*/
public String key() {
return this.key;
}
/**
* @return Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
*
*/
public String type() {
return this.type;
}
/**
* @return The value of the header.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GrpcRouteHeaderMatchResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String key;
private String type;
private String value;
public Builder() {}
public Builder(GrpcRouteHeaderMatchResponse defaults) {
Objects.requireNonNull(defaults);
this.key = defaults.key;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder key(String key) {
this.key = Objects.requireNonNull(key);
return this;
}
@CustomType.Setter
public Builder type(String type) {
this.type = Objects.requireNonNull(type);
return this;
}
@CustomType.Setter
public Builder value(String value) {
this.value = Objects.requireNonNull(value);
return this;
}
public GrpcRouteHeaderMatchResponse build() {
final var o = new GrpcRouteHeaderMatchResponse();
o.key = key;
o.type = type;
o.value = value;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy