
com.pulumi.azurenative.operationalinsights.outputs.MachineReferenceWithHintsResponse 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.azurenative.operationalinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MachineReferenceWithHintsResponse {
/**
* @return Last known display name.
*
*/
private String displayNameHint;
/**
* @return Resource URI.
*
*/
private String id;
/**
* @return Specifies the sub-class of the reference.
* Expected value is 'ref:machinewithhints'.
*
*/
private String kind;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return Last known operating system family.
*
*/
private String osFamilyHint;
/**
* @return Resource type qualifier.
*
*/
private String type;
private MachineReferenceWithHintsResponse() {}
/**
* @return Last known display name.
*
*/
public String displayNameHint() {
return this.displayNameHint;
}
/**
* @return Resource URI.
*
*/
public String id() {
return this.id;
}
/**
* @return Specifies the sub-class of the reference.
* Expected value is 'ref:machinewithhints'.
*
*/
public String kind() {
return this.kind;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return Last known operating system family.
*
*/
public String osFamilyHint() {
return this.osFamilyHint;
}
/**
* @return Resource type qualifier.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MachineReferenceWithHintsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String displayNameHint;
private String id;
private String kind;
private String name;
private String osFamilyHint;
private String type;
public Builder() {}
public Builder(MachineReferenceWithHintsResponse defaults) {
Objects.requireNonNull(defaults);
this.displayNameHint = defaults.displayNameHint;
this.id = defaults.id;
this.kind = defaults.kind;
this.name = defaults.name;
this.osFamilyHint = defaults.osFamilyHint;
this.type = defaults.type;
}
@CustomType.Setter
public Builder displayNameHint(String displayNameHint) {
if (displayNameHint == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "displayNameHint");
}
this.displayNameHint = displayNameHint;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(String kind) {
if (kind == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "kind");
}
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder osFamilyHint(String osFamilyHint) {
if (osFamilyHint == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "osFamilyHint");
}
this.osFamilyHint = osFamilyHint;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("MachineReferenceWithHintsResponse", "type");
}
this.type = type;
return this;
}
public MachineReferenceWithHintsResponse build() {
final var _resultValue = new MachineReferenceWithHintsResponse();
_resultValue.displayNameHint = displayNameHint;
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.name = name;
_resultValue.osFamilyHint = osFamilyHint;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy