com.pulumi.azurenative.app.outputs.HttpSettingsResponse 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.azurenative.app.outputs.ForwardProxyResponse;
import com.pulumi.azurenative.app.outputs.HttpSettingsRoutesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HttpSettingsResponse {
/**
* @return The configuration settings of a forward proxy used to make the requests.
*
*/
private @Nullable ForwardProxyResponse forwardProxy;
/**
* @return <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
*
*/
private @Nullable Boolean requireHttps;
/**
* @return The configuration settings of the paths HTTP requests.
*
*/
private @Nullable HttpSettingsRoutesResponse routes;
private HttpSettingsResponse() {}
/**
* @return The configuration settings of a forward proxy used to make the requests.
*
*/
public Optional forwardProxy() {
return Optional.ofNullable(this.forwardProxy);
}
/**
* @return <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
*
*/
public Optional requireHttps() {
return Optional.ofNullable(this.requireHttps);
}
/**
* @return The configuration settings of the paths HTTP requests.
*
*/
public Optional routes() {
return Optional.ofNullable(this.routes);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HttpSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ForwardProxyResponse forwardProxy;
private @Nullable Boolean requireHttps;
private @Nullable HttpSettingsRoutesResponse routes;
public Builder() {}
public Builder(HttpSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.forwardProxy = defaults.forwardProxy;
this.requireHttps = defaults.requireHttps;
this.routes = defaults.routes;
}
@CustomType.Setter
public Builder forwardProxy(@Nullable ForwardProxyResponse forwardProxy) {
this.forwardProxy = forwardProxy;
return this;
}
@CustomType.Setter
public Builder requireHttps(@Nullable Boolean requireHttps) {
this.requireHttps = requireHttps;
return this;
}
@CustomType.Setter
public Builder routes(@Nullable HttpSettingsRoutesResponse routes) {
this.routes = routes;
return this;
}
public HttpSettingsResponse build() {
final var _resultValue = new HttpSettingsResponse();
_resultValue.forwardProxy = forwardProxy;
_resultValue.requireHttps = requireHttps;
_resultValue.routes = routes;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy