com.pulumi.vsphere.outputs.GetHostVgpuProfileVgpuProfile 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetHostVgpuProfileVgpuProfile {
/**
* @return Indicates whether the GPU plugin on this host is
* capable of disk-only snapshots when VM is not powered off.
*
*/
private Boolean diskSnapshotSupported;
/**
* @return Indicates whether the GPU plugin on this host
* is capable of memory snapshots.
*
*/
private Boolean memorySnapshotSupported;
/**
* @return Indicates whether the GPU plugin on this host is
* capable of migration.
*
*/
private Boolean migrateSupported;
/**
* @return Indicates whether the GPU plugin on this host is
* capable of suspend-resume.
*
*/
private Boolean suspendSupported;
/**
* @return Name of a particular vGPU available as a shared GPU device (vGPU
* profile).
*
*/
private String vgpu;
private GetHostVgpuProfileVgpuProfile() {}
/**
* @return Indicates whether the GPU plugin on this host is
* capable of disk-only snapshots when VM is not powered off.
*
*/
public Boolean diskSnapshotSupported() {
return this.diskSnapshotSupported;
}
/**
* @return Indicates whether the GPU plugin on this host
* is capable of memory snapshots.
*
*/
public Boolean memorySnapshotSupported() {
return this.memorySnapshotSupported;
}
/**
* @return Indicates whether the GPU plugin on this host is
* capable of migration.
*
*/
public Boolean migrateSupported() {
return this.migrateSupported;
}
/**
* @return Indicates whether the GPU plugin on this host is
* capable of suspend-resume.
*
*/
public Boolean suspendSupported() {
return this.suspendSupported;
}
/**
* @return Name of a particular vGPU available as a shared GPU device (vGPU
* profile).
*
*/
public String vgpu() {
return this.vgpu;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHostVgpuProfileVgpuProfile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean diskSnapshotSupported;
private Boolean memorySnapshotSupported;
private Boolean migrateSupported;
private Boolean suspendSupported;
private String vgpu;
public Builder() {}
public Builder(GetHostVgpuProfileVgpuProfile defaults) {
Objects.requireNonNull(defaults);
this.diskSnapshotSupported = defaults.diskSnapshotSupported;
this.memorySnapshotSupported = defaults.memorySnapshotSupported;
this.migrateSupported = defaults.migrateSupported;
this.suspendSupported = defaults.suspendSupported;
this.vgpu = defaults.vgpu;
}
@CustomType.Setter
public Builder diskSnapshotSupported(Boolean diskSnapshotSupported) {
if (diskSnapshotSupported == null) {
throw new MissingRequiredPropertyException("GetHostVgpuProfileVgpuProfile", "diskSnapshotSupported");
}
this.diskSnapshotSupported = diskSnapshotSupported;
return this;
}
@CustomType.Setter
public Builder memorySnapshotSupported(Boolean memorySnapshotSupported) {
if (memorySnapshotSupported == null) {
throw new MissingRequiredPropertyException("GetHostVgpuProfileVgpuProfile", "memorySnapshotSupported");
}
this.memorySnapshotSupported = memorySnapshotSupported;
return this;
}
@CustomType.Setter
public Builder migrateSupported(Boolean migrateSupported) {
if (migrateSupported == null) {
throw new MissingRequiredPropertyException("GetHostVgpuProfileVgpuProfile", "migrateSupported");
}
this.migrateSupported = migrateSupported;
return this;
}
@CustomType.Setter
public Builder suspendSupported(Boolean suspendSupported) {
if (suspendSupported == null) {
throw new MissingRequiredPropertyException("GetHostVgpuProfileVgpuProfile", "suspendSupported");
}
this.suspendSupported = suspendSupported;
return this;
}
@CustomType.Setter
public Builder vgpu(String vgpu) {
if (vgpu == null) {
throw new MissingRequiredPropertyException("GetHostVgpuProfileVgpuProfile", "vgpu");
}
this.vgpu = vgpu;
return this;
}
public GetHostVgpuProfileVgpuProfile build() {
final var _resultValue = new GetHostVgpuProfileVgpuProfile();
_resultValue.diskSnapshotSupported = diskSnapshotSupported;
_resultValue.memorySnapshotSupported = memorySnapshotSupported;
_resultValue.migrateSupported = migrateSupported;
_resultValue.suspendSupported = suspendSupported;
_resultValue.vgpu = vgpu;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy