com.hubspot.chrome.devtools.client.core.systeminfo.GPUInfo Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.systeminfo;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Provides information about the GPU(s) on the system.
*/
public final class GPUInfo {
private List devices;
private Object auxAttributes;
private Object featureStatus;
private List driverBugWorkarounds;
@JsonCreator
public GPUInfo(@JsonProperty("devices") List devices,
@JsonProperty("auxAttributes") Object auxAttributes,
@JsonProperty("featureStatus") Object featureStatus,
@JsonProperty("driverBugWorkarounds") List driverBugWorkarounds) {
this.devices = devices;
this.auxAttributes = auxAttributes;
this.featureStatus = featureStatus;
this.driverBugWorkarounds = driverBugWorkarounds;
}
public List getDevices() {
return devices;
}
public Object getAuxAttributes() {
return auxAttributes;
}
public Object getFeatureStatus() {
return featureStatus;
}
public List getDriverBugWorkarounds() {
return driverBugWorkarounds;
}
public static GPUInfo.Builder builder() {
return new GPUInfo.Builder();
}
public static final class Builder {
private List devices;
private Object auxAttributes;
private Object featureStatus;
private List driverBugWorkarounds;
private Builder() {
}
public GPUInfo.Builder setDevices(List devices) {
this.devices = devices;
return this;
}
public GPUInfo.Builder setAuxAttributes(Object auxAttributes) {
this.auxAttributes = auxAttributes;
return this;
}
public GPUInfo.Builder setFeatureStatus(Object featureStatus) {
this.featureStatus = featureStatus;
return this;
}
public GPUInfo.Builder setDriverBugWorkarounds(List driverBugWorkarounds) {
this.driverBugWorkarounds = driverBugWorkarounds;
return this;
}
public GPUInfo build() {
return new GPUInfo(devices, auxAttributes, featureStatus, driverBugWorkarounds);
}
}
}