com.pulumi.vsphere.outputs.ComputeClusterVsanFaultDomainFaultDomain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vsphere Show documentation
Show all versions of vsphere Show documentation
A Pulumi package for creating vsphere 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.vsphere.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ComputeClusterVsanFaultDomainFaultDomain {
/**
* @return The managed object IDs of the hosts to put in the fault domain.
*
*/
private List hostIds;
/**
* @return The name of the cluster.
*
*/
private String name;
private ComputeClusterVsanFaultDomainFaultDomain() {}
/**
* @return The managed object IDs of the hosts to put in the fault domain.
*
*/
public List hostIds() {
return this.hostIds;
}
/**
* @return The name of the cluster.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputeClusterVsanFaultDomainFaultDomain defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List hostIds;
private String name;
public Builder() {}
public Builder(ComputeClusterVsanFaultDomainFaultDomain defaults) {
Objects.requireNonNull(defaults);
this.hostIds = defaults.hostIds;
this.name = defaults.name;
}
@CustomType.Setter
public Builder hostIds(List hostIds) {
this.hostIds = Objects.requireNonNull(hostIds);
return this;
}
public Builder hostIds(String... hostIds) {
return hostIds(List.of(hostIds));
}
@CustomType.Setter
public Builder name(String name) {
this.name = Objects.requireNonNull(name);
return this;
}
public ComputeClusterVsanFaultDomainFaultDomain build() {
final var o = new ComputeClusterVsanFaultDomainFaultDomain();
o.hostIds = hostIds;
o.name = name;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy