com.pulumi.azure.arcmachine.outputs.GetOsProfileLinuxPatch 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.azure.arcmachine.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetOsProfileLinuxPatch {
/**
* @return Specifies the assessment mode.
*
*/
private String assessmentMode;
/**
* @return Specifies the patch mode.
*
*/
private String patchMode;
private GetOsProfileLinuxPatch() {}
/**
* @return Specifies the assessment mode.
*
*/
public String assessmentMode() {
return this.assessmentMode;
}
/**
* @return Specifies the patch mode.
*
*/
public String patchMode() {
return this.patchMode;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetOsProfileLinuxPatch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String assessmentMode;
private String patchMode;
public Builder() {}
public Builder(GetOsProfileLinuxPatch defaults) {
Objects.requireNonNull(defaults);
this.assessmentMode = defaults.assessmentMode;
this.patchMode = defaults.patchMode;
}
@CustomType.Setter
public Builder assessmentMode(String assessmentMode) {
if (assessmentMode == null) {
throw new MissingRequiredPropertyException("GetOsProfileLinuxPatch", "assessmentMode");
}
this.assessmentMode = assessmentMode;
return this;
}
@CustomType.Setter
public Builder patchMode(String patchMode) {
if (patchMode == null) {
throw new MissingRequiredPropertyException("GetOsProfileLinuxPatch", "patchMode");
}
this.patchMode = patchMode;
return this;
}
public GetOsProfileLinuxPatch build() {
final var _resultValue = new GetOsProfileLinuxPatch();
_resultValue.assessmentMode = assessmentMode;
_resultValue.patchMode = patchMode;
return _resultValue;
}
}
}