
com.pulumi.azurenative.servicefabricmesh.outputs.HttpHostConfigResponse 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.servicefabricmesh.outputs;
import com.pulumi.azurenative.servicefabricmesh.outputs.HttpRouteConfigResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class HttpHostConfigResponse {
/**
* @return http hostname config name.
*
*/
private String name;
/**
* @return Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
*
*/
private List routes;
private HttpHostConfigResponse() {}
/**
* @return http hostname config name.
*
*/
public String name() {
return this.name;
}
/**
* @return Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
*
*/
public List routes() {
return this.routes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HttpHostConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private List routes;
public Builder() {}
public Builder(HttpHostConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.routes = defaults.routes;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("HttpHostConfigResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder routes(List routes) {
if (routes == null) {
throw new MissingRequiredPropertyException("HttpHostConfigResponse", "routes");
}
this.routes = routes;
return this;
}
public Builder routes(HttpRouteConfigResponse... routes) {
return routes(List.of(routes));
}
public HttpHostConfigResponse build() {
final var _resultValue = new HttpHostConfigResponse();
_resultValue.name = name;
_resultValue.routes = routes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy