com.pulumi.azurenative.network.outputs.ExplicitProxyResponse 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.network.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ExplicitProxyResponse {
/**
* @return When set to true, explicit proxy mode is enabled.
*
*/
private @Nullable Boolean enableExplicitProxy;
/**
* @return When set to true, pac file port and url needs to be provided.
*
*/
private @Nullable Boolean enablePacFile;
/**
* @return Port number for explicit proxy http protocol, cannot be greater than 64000.
*
*/
private @Nullable Integer httpPort;
/**
* @return Port number for explicit proxy https protocol, cannot be greater than 64000.
*
*/
private @Nullable Integer httpsPort;
/**
* @return SAS URL for PAC file.
*
*/
private @Nullable String pacFile;
/**
* @return Port number for firewall to serve PAC file.
*
*/
private @Nullable Integer pacFilePort;
private ExplicitProxyResponse() {}
/**
* @return When set to true, explicit proxy mode is enabled.
*
*/
public Optional enableExplicitProxy() {
return Optional.ofNullable(this.enableExplicitProxy);
}
/**
* @return When set to true, pac file port and url needs to be provided.
*
*/
public Optional enablePacFile() {
return Optional.ofNullable(this.enablePacFile);
}
/**
* @return Port number for explicit proxy http protocol, cannot be greater than 64000.
*
*/
public Optional httpPort() {
return Optional.ofNullable(this.httpPort);
}
/**
* @return Port number for explicit proxy https protocol, cannot be greater than 64000.
*
*/
public Optional httpsPort() {
return Optional.ofNullable(this.httpsPort);
}
/**
* @return SAS URL for PAC file.
*
*/
public Optional pacFile() {
return Optional.ofNullable(this.pacFile);
}
/**
* @return Port number for firewall to serve PAC file.
*
*/
public Optional pacFilePort() {
return Optional.ofNullable(this.pacFilePort);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExplicitProxyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enableExplicitProxy;
private @Nullable Boolean enablePacFile;
private @Nullable Integer httpPort;
private @Nullable Integer httpsPort;
private @Nullable String pacFile;
private @Nullable Integer pacFilePort;
public Builder() {}
public Builder(ExplicitProxyResponse defaults) {
Objects.requireNonNull(defaults);
this.enableExplicitProxy = defaults.enableExplicitProxy;
this.enablePacFile = defaults.enablePacFile;
this.httpPort = defaults.httpPort;
this.httpsPort = defaults.httpsPort;
this.pacFile = defaults.pacFile;
this.pacFilePort = defaults.pacFilePort;
}
@CustomType.Setter
public Builder enableExplicitProxy(@Nullable Boolean enableExplicitProxy) {
this.enableExplicitProxy = enableExplicitProxy;
return this;
}
@CustomType.Setter
public Builder enablePacFile(@Nullable Boolean enablePacFile) {
this.enablePacFile = enablePacFile;
return this;
}
@CustomType.Setter
public Builder httpPort(@Nullable Integer httpPort) {
this.httpPort = httpPort;
return this;
}
@CustomType.Setter
public Builder httpsPort(@Nullable Integer httpsPort) {
this.httpsPort = httpsPort;
return this;
}
@CustomType.Setter
public Builder pacFile(@Nullable String pacFile) {
this.pacFile = pacFile;
return this;
}
@CustomType.Setter
public Builder pacFilePort(@Nullable Integer pacFilePort) {
this.pacFilePort = pacFilePort;
return this;
}
public ExplicitProxyResponse build() {
final var _resultValue = new ExplicitProxyResponse();
_resultValue.enableExplicitProxy = enableExplicitProxy;
_resultValue.enablePacFile = enablePacFile;
_resultValue.httpPort = httpPort;
_resultValue.httpsPort = httpsPort;
_resultValue.pacFile = pacFile;
_resultValue.pacFilePort = pacFilePort;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy