![JAR search and dependency download from the Maven repository](/logo.png)
com.equinix.pulumi.networkedge.outputs.GetDeviceClusterDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of equinix Show documentation
Show all versions of equinix Show documentation
A Pulumi package for creating and managing equinix cloud 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.equinix.pulumi.networkedge.outputs;
import com.equinix.pulumi.networkedge.outputs.GetDeviceClusterDetailNode0;
import com.equinix.pulumi.networkedge.outputs.GetDeviceClusterDetailNode1;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetDeviceClusterDetail {
/**
* @return The id of the cluster
*
*/
private String clusterId;
/**
* @return The name of the cluster device
*
*/
private String clusterName;
/**
* @return An object that has node0 details
*
*/
private List node0s;
/**
* @return An object that has node1 details
*
*/
private List node1s;
/**
* @return The number of nodes in the cluster
*
*/
private Integer numOfNodes;
private GetDeviceClusterDetail() {}
/**
* @return The id of the cluster
*
*/
public String clusterId() {
return this.clusterId;
}
/**
* @return The name of the cluster device
*
*/
public String clusterName() {
return this.clusterName;
}
/**
* @return An object that has node0 details
*
*/
public List node0s() {
return this.node0s;
}
/**
* @return An object that has node1 details
*
*/
public List node1s() {
return this.node1s;
}
/**
* @return The number of nodes in the cluster
*
*/
public Integer numOfNodes() {
return this.numOfNodes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDeviceClusterDetail defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String clusterId;
private String clusterName;
private List node0s;
private List node1s;
private Integer numOfNodes;
public Builder() {}
public Builder(GetDeviceClusterDetail defaults) {
Objects.requireNonNull(defaults);
this.clusterId = defaults.clusterId;
this.clusterName = defaults.clusterName;
this.node0s = defaults.node0s;
this.node1s = defaults.node1s;
this.numOfNodes = defaults.numOfNodes;
}
@CustomType.Setter
public Builder clusterId(String clusterId) {
if (clusterId == null) {
throw new MissingRequiredPropertyException("GetDeviceClusterDetail", "clusterId");
}
this.clusterId = clusterId;
return this;
}
@CustomType.Setter
public Builder clusterName(String clusterName) {
if (clusterName == null) {
throw new MissingRequiredPropertyException("GetDeviceClusterDetail", "clusterName");
}
this.clusterName = clusterName;
return this;
}
@CustomType.Setter
public Builder node0s(List node0s) {
if (node0s == null) {
throw new MissingRequiredPropertyException("GetDeviceClusterDetail", "node0s");
}
this.node0s = node0s;
return this;
}
public Builder node0s(GetDeviceClusterDetailNode0... node0s) {
return node0s(List.of(node0s));
}
@CustomType.Setter
public Builder node1s(List node1s) {
if (node1s == null) {
throw new MissingRequiredPropertyException("GetDeviceClusterDetail", "node1s");
}
this.node1s = node1s;
return this;
}
public Builder node1s(GetDeviceClusterDetailNode1... node1s) {
return node1s(List.of(node1s));
}
@CustomType.Setter
public Builder numOfNodes(Integer numOfNodes) {
if (numOfNodes == null) {
throw new MissingRequiredPropertyException("GetDeviceClusterDetail", "numOfNodes");
}
this.numOfNodes = numOfNodes;
return this;
}
public GetDeviceClusterDetail build() {
final var _resultValue = new GetDeviceClusterDetail();
_resultValue.clusterId = clusterId;
_resultValue.clusterName = clusterName;
_resultValue.node0s = node0s;
_resultValue.node1s = node1s;
_resultValue.numOfNodes = numOfNodes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy