com.pulumi.azurenative.app.outputs.ForwardProxyResponse 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.app.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 ForwardProxyResponse {
/**
* @return The convention used to determine the url of the request made.
*
*/
private @Nullable String convention;
/**
* @return The name of the header containing the host of the request.
*
*/
private @Nullable String customHostHeaderName;
/**
* @return The name of the header containing the scheme of the request.
*
*/
private @Nullable String customProtoHeaderName;
private ForwardProxyResponse() {}
/**
* @return The convention used to determine the url of the request made.
*
*/
public Optional convention() {
return Optional.ofNullable(this.convention);
}
/**
* @return The name of the header containing the host of the request.
*
*/
public Optional customHostHeaderName() {
return Optional.ofNullable(this.customHostHeaderName);
}
/**
* @return The name of the header containing the scheme of the request.
*
*/
public Optional customProtoHeaderName() {
return Optional.ofNullable(this.customProtoHeaderName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ForwardProxyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String convention;
private @Nullable String customHostHeaderName;
private @Nullable String customProtoHeaderName;
public Builder() {}
public Builder(ForwardProxyResponse defaults) {
Objects.requireNonNull(defaults);
this.convention = defaults.convention;
this.customHostHeaderName = defaults.customHostHeaderName;
this.customProtoHeaderName = defaults.customProtoHeaderName;
}
@CustomType.Setter
public Builder convention(@Nullable String convention) {
this.convention = convention;
return this;
}
@CustomType.Setter
public Builder customHostHeaderName(@Nullable String customHostHeaderName) {
this.customHostHeaderName = customHostHeaderName;
return this;
}
@CustomType.Setter
public Builder customProtoHeaderName(@Nullable String customProtoHeaderName) {
this.customProtoHeaderName = customProtoHeaderName;
return this;
}
public ForwardProxyResponse build() {
final var _resultValue = new ForwardProxyResponse();
_resultValue.convention = convention;
_resultValue.customHostHeaderName = customHostHeaderName;
_resultValue.customProtoHeaderName = customProtoHeaderName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy