
com.pulumi.azurenative.cloudngfw.outputs.FrontendSettingResponse 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.azurenative.cloudngfw.outputs;
import com.pulumi.azurenative.cloudngfw.outputs.EndpointConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class FrontendSettingResponse {
/**
* @return Backend configurations
*
*/
private EndpointConfigurationResponse backendConfiguration;
/**
* @return Frontend configurations
*
*/
private EndpointConfigurationResponse frontendConfiguration;
/**
* @return Settings name
*
*/
private String name;
/**
* @return Protocol Type
*
*/
private String protocol;
private FrontendSettingResponse() {}
/**
* @return Backend configurations
*
*/
public EndpointConfigurationResponse backendConfiguration() {
return this.backendConfiguration;
}
/**
* @return Frontend configurations
*
*/
public EndpointConfigurationResponse frontendConfiguration() {
return this.frontendConfiguration;
}
/**
* @return Settings name
*
*/
public String name() {
return this.name;
}
/**
* @return Protocol Type
*
*/
public String protocol() {
return this.protocol;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FrontendSettingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private EndpointConfigurationResponse backendConfiguration;
private EndpointConfigurationResponse frontendConfiguration;
private String name;
private String protocol;
public Builder() {}
public Builder(FrontendSettingResponse defaults) {
Objects.requireNonNull(defaults);
this.backendConfiguration = defaults.backendConfiguration;
this.frontendConfiguration = defaults.frontendConfiguration;
this.name = defaults.name;
this.protocol = defaults.protocol;
}
@CustomType.Setter
public Builder backendConfiguration(EndpointConfigurationResponse backendConfiguration) {
if (backendConfiguration == null) {
throw new MissingRequiredPropertyException("FrontendSettingResponse", "backendConfiguration");
}
this.backendConfiguration = backendConfiguration;
return this;
}
@CustomType.Setter
public Builder frontendConfiguration(EndpointConfigurationResponse frontendConfiguration) {
if (frontendConfiguration == null) {
throw new MissingRequiredPropertyException("FrontendSettingResponse", "frontendConfiguration");
}
this.frontendConfiguration = frontendConfiguration;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("FrontendSettingResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder protocol(String protocol) {
if (protocol == null) {
throw new MissingRequiredPropertyException("FrontendSettingResponse", "protocol");
}
this.protocol = protocol;
return this;
}
public FrontendSettingResponse build() {
final var _resultValue = new FrontendSettingResponse();
_resultValue.backendConfiguration = backendConfiguration;
_resultValue.frontendConfiguration = frontendConfiguration;
_resultValue.name = name;
_resultValue.protocol = protocol;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy