com.pulumi.scm.outputs.GetHipObjectPatchManagementCriteriaMissingPatches Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetHipObjectPatchManagementCriteriaMissingPatchesSeverity;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetHipObjectPatchManagementCriteriaMissingPatches {
/**
* @return The Check param. String must be one of these: `"has-any"`, `"has-none"`, `"has-all"`. Default: `"has-any"`.
*
*/
private String check;
/**
* @return The Patches param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
*
*/
private List patches;
/**
* @return The Severity param.
*
*/
private GetHipObjectPatchManagementCriteriaMissingPatchesSeverity severity;
private GetHipObjectPatchManagementCriteriaMissingPatches() {}
/**
* @return The Check param. String must be one of these: `"has-any"`, `"has-none"`, `"has-all"`. Default: `"has-any"`.
*
*/
public String check() {
return this.check;
}
/**
* @return The Patches param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
*
*/
public List patches() {
return this.patches;
}
/**
* @return The Severity param.
*
*/
public GetHipObjectPatchManagementCriteriaMissingPatchesSeverity severity() {
return this.severity;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHipObjectPatchManagementCriteriaMissingPatches defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String check;
private List patches;
private GetHipObjectPatchManagementCriteriaMissingPatchesSeverity severity;
public Builder() {}
public Builder(GetHipObjectPatchManagementCriteriaMissingPatches defaults) {
Objects.requireNonNull(defaults);
this.check = defaults.check;
this.patches = defaults.patches;
this.severity = defaults.severity;
}
@CustomType.Setter
public Builder check(String check) {
if (check == null) {
throw new MissingRequiredPropertyException("GetHipObjectPatchManagementCriteriaMissingPatches", "check");
}
this.check = check;
return this;
}
@CustomType.Setter
public Builder patches(List patches) {
if (patches == null) {
throw new MissingRequiredPropertyException("GetHipObjectPatchManagementCriteriaMissingPatches", "patches");
}
this.patches = patches;
return this;
}
public Builder patches(String... patches) {
return patches(List.of(patches));
}
@CustomType.Setter
public Builder severity(GetHipObjectPatchManagementCriteriaMissingPatchesSeverity severity) {
if (severity == null) {
throw new MissingRequiredPropertyException("GetHipObjectPatchManagementCriteriaMissingPatches", "severity");
}
this.severity = severity;
return this;
}
public GetHipObjectPatchManagementCriteriaMissingPatches build() {
final var _resultValue = new GetHipObjectPatchManagementCriteriaMissingPatches();
_resultValue.check = check;
_resultValue.patches = patches;
_resultValue.severity = severity;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy