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

com.pulumi.azurenative.automanage.outputs.ConfigurationProfilePreferencePropertiesResponse 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.automanage.outputs;

import com.pulumi.azurenative.automanage.outputs.ConfigurationProfilePreferenceAntiMalwareResponse;
import com.pulumi.azurenative.automanage.outputs.ConfigurationProfilePreferenceVmBackupResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConfigurationProfilePreferencePropertiesResponse {
    /**
     * @return The custom preferences for Azure Antimalware.
     * 
     */
    private @Nullable ConfigurationProfilePreferenceAntiMalwareResponse antiMalware;
    /**
     * @return The custom preferences for Azure VM Backup.
     * 
     */
    private @Nullable ConfigurationProfilePreferenceVmBackupResponse vmBackup;

    private ConfigurationProfilePreferencePropertiesResponse() {}
    /**
     * @return The custom preferences for Azure Antimalware.
     * 
     */
    public Optional antiMalware() {
        return Optional.ofNullable(this.antiMalware);
    }
    /**
     * @return The custom preferences for Azure VM Backup.
     * 
     */
    public Optional vmBackup() {
        return Optional.ofNullable(this.vmBackup);
    }

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

    public static Builder builder(ConfigurationProfilePreferencePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ConfigurationProfilePreferenceAntiMalwareResponse antiMalware;
        private @Nullable ConfigurationProfilePreferenceVmBackupResponse vmBackup;
        public Builder() {}
        public Builder(ConfigurationProfilePreferencePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.antiMalware = defaults.antiMalware;
    	      this.vmBackup = defaults.vmBackup;
        }

        @CustomType.Setter
        public Builder antiMalware(@Nullable ConfigurationProfilePreferenceAntiMalwareResponse antiMalware) {

            this.antiMalware = antiMalware;
            return this;
        }
        @CustomType.Setter
        public Builder vmBackup(@Nullable ConfigurationProfilePreferenceVmBackupResponse vmBackup) {

            this.vmBackup = vmBackup;
            return this;
        }
        public ConfigurationProfilePreferencePropertiesResponse build() {
            final var _resultValue = new ConfigurationProfilePreferencePropertiesResponse();
            _resultValue.antiMalware = antiMalware;
            _resultValue.vmBackup = vmBackup;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy