All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.automation.outputs.LinuxPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.automation.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LinuxPropertiesResponse {
    /**
     * @return packages excluded from the software update configuration.
     * 
     */
    private @Nullable List excludedPackageNameMasks;
    /**
     * @return Update classifications included in the software update configuration.
     * 
     */
    private @Nullable String includedPackageClassifications;
    /**
     * @return packages included from the software update configuration.
     * 
     */
    private @Nullable List includedPackageNameMasks;
    /**
     * @return Reboot setting for the software update configuration.
     * 
     */
    private @Nullable String rebootSetting;

    private LinuxPropertiesResponse() {}
    /**
     * @return packages excluded from the software update configuration.
     * 
     */
    public List excludedPackageNameMasks() {
        return this.excludedPackageNameMasks == null ? List.of() : this.excludedPackageNameMasks;
    }
    /**
     * @return Update classifications included in the software update configuration.
     * 
     */
    public Optional includedPackageClassifications() {
        return Optional.ofNullable(this.includedPackageClassifications);
    }
    /**
     * @return packages included from the software update configuration.
     * 
     */
    public List includedPackageNameMasks() {
        return this.includedPackageNameMasks == null ? List.of() : this.includedPackageNameMasks;
    }
    /**
     * @return Reboot setting for the software update configuration.
     * 
     */
    public Optional rebootSetting() {
        return Optional.ofNullable(this.rebootSetting);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(LinuxPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List excludedPackageNameMasks;
        private @Nullable String includedPackageClassifications;
        private @Nullable List includedPackageNameMasks;
        private @Nullable String rebootSetting;
        public Builder() {}
        public Builder(LinuxPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.excludedPackageNameMasks = defaults.excludedPackageNameMasks;
    	      this.includedPackageClassifications = defaults.includedPackageClassifications;
    	      this.includedPackageNameMasks = defaults.includedPackageNameMasks;
    	      this.rebootSetting = defaults.rebootSetting;
        }

        @CustomType.Setter
        public Builder excludedPackageNameMasks(@Nullable List excludedPackageNameMasks) {

            this.excludedPackageNameMasks = excludedPackageNameMasks;
            return this;
        }
        public Builder excludedPackageNameMasks(String... excludedPackageNameMasks) {
            return excludedPackageNameMasks(List.of(excludedPackageNameMasks));
        }
        @CustomType.Setter
        public Builder includedPackageClassifications(@Nullable String includedPackageClassifications) {

            this.includedPackageClassifications = includedPackageClassifications;
            return this;
        }
        @CustomType.Setter
        public Builder includedPackageNameMasks(@Nullable List includedPackageNameMasks) {

            this.includedPackageNameMasks = includedPackageNameMasks;
            return this;
        }
        public Builder includedPackageNameMasks(String... includedPackageNameMasks) {
            return includedPackageNameMasks(List.of(includedPackageNameMasks));
        }
        @CustomType.Setter
        public Builder rebootSetting(@Nullable String rebootSetting) {

            this.rebootSetting = rebootSetting;
            return this;
        }
        public LinuxPropertiesResponse build() {
            final var _resultValue = new LinuxPropertiesResponse();
            _resultValue.excludedPackageNameMasks = excludedPackageNameMasks;
            _resultValue.includedPackageClassifications = includedPackageClassifications;
            _resultValue.includedPackageNameMasks = includedPackageNameMasks;
            _resultValue.rebootSetting = rebootSetting;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy