com.pulumi.googlenative.redis.v1.outputs.NodeInfoResponse 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.redis.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class NodeInfoResponse {
/**
* @return Location of the node.
*
*/
private String zone;
private NodeInfoResponse() {}
/**
* @return Location of the node.
*
*/
public String zone() {
return this.zone;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NodeInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String zone;
public Builder() {}
public Builder(NodeInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.zone = defaults.zone;
}
@CustomType.Setter
public Builder zone(String zone) {
this.zone = Objects.requireNonNull(zone);
return this;
}
public NodeInfoResponse build() {
final var o = new NodeInfoResponse();
o.zone = zone;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy