com.pulumi.googlenative.osconfig.v1beta.outputs.WindowsUpdateSettingsResponse 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.googlenative.osconfig.v1beta.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class WindowsUpdateSettingsResponse {
/**
* @return Only apply updates of these windows update classifications. If empty, all updates are applied.
*
*/
private List classifications;
/**
* @return List of KBs to exclude from update.
*
*/
private List excludes;
/**
* @return An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
*
*/
private List exclusivePatches;
private WindowsUpdateSettingsResponse() {}
/**
* @return Only apply updates of these windows update classifications. If empty, all updates are applied.
*
*/
public List classifications() {
return this.classifications;
}
/**
* @return List of KBs to exclude from update.
*
*/
public List excludes() {
return this.excludes;
}
/**
* @return An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
*
*/
public List exclusivePatches() {
return this.exclusivePatches;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsUpdateSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List classifications;
private List excludes;
private List exclusivePatches;
public Builder() {}
public Builder(WindowsUpdateSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.classifications = defaults.classifications;
this.excludes = defaults.excludes;
this.exclusivePatches = defaults.exclusivePatches;
}
@CustomType.Setter
public Builder classifications(List classifications) {
this.classifications = Objects.requireNonNull(classifications);
return this;
}
public Builder classifications(String... classifications) {
return classifications(List.of(classifications));
}
@CustomType.Setter
public Builder excludes(List excludes) {
this.excludes = Objects.requireNonNull(excludes);
return this;
}
public Builder excludes(String... excludes) {
return excludes(List.of(excludes));
}
@CustomType.Setter
public Builder exclusivePatches(List exclusivePatches) {
this.exclusivePatches = Objects.requireNonNull(exclusivePatches);
return this;
}
public Builder exclusivePatches(String... exclusivePatches) {
return exclusivePatches(List.of(exclusivePatches));
}
public WindowsUpdateSettingsResponse build() {
final var o = new WindowsUpdateSettingsResponse();
o.classifications = classifications;
o.excludes = excludes;
o.exclusivePatches = exclusivePatches;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy