com.pulumi.googlenative.workstations.v1beta.outputs.ReadinessCheckResponse 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.googlenative.workstations.v1beta.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ReadinessCheckResponse {
/**
* @return Path to which the request should be sent.
*
*/
private String path;
/**
* @return Port to which the request should be sent.
*
*/
private Integer port;
private ReadinessCheckResponse() {}
/**
* @return Path to which the request should be sent.
*
*/
public String path() {
return this.path;
}
/**
* @return Port to which the request should be sent.
*
*/
public Integer port() {
return this.port;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReadinessCheckResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String path;
private Integer port;
public Builder() {}
public Builder(ReadinessCheckResponse defaults) {
Objects.requireNonNull(defaults);
this.path = defaults.path;
this.port = defaults.port;
}
@CustomType.Setter
public Builder path(String path) {
this.path = Objects.requireNonNull(path);
return this;
}
@CustomType.Setter
public Builder port(Integer port) {
this.port = Objects.requireNonNull(port);
return this;
}
public ReadinessCheckResponse build() {
final var o = new ReadinessCheckResponse();
o.path = path;
o.port = port;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy