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

com.pulumi.azurenative.security.outputs.MalwareScanningPropertiesResponse 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.azurenative.security.outputs;

import com.pulumi.azurenative.security.outputs.OnUploadPropertiesResponse;
import com.pulumi.azurenative.security.outputs.OperationStatusResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MalwareScanningPropertiesResponse {
    /**
     * @return Properties of On Upload malware scanning.
     * 
     */
    private @Nullable OnUploadPropertiesResponse onUpload;
    /**
     * @return Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
     * 
     */
    private OperationStatusResponse operationStatus;
    /**
     * @return Optional. Resource id of an Event Grid Topic to send scan results to.
     * 
     */
    private @Nullable String scanResultsEventGridTopicResourceId;

    private MalwareScanningPropertiesResponse() {}
    /**
     * @return Properties of On Upload malware scanning.
     * 
     */
    public Optional onUpload() {
        return Optional.ofNullable(this.onUpload);
    }
    /**
     * @return Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
     * 
     */
    public OperationStatusResponse operationStatus() {
        return this.operationStatus;
    }
    /**
     * @return Optional. Resource id of an Event Grid Topic to send scan results to.
     * 
     */
    public Optional scanResultsEventGridTopicResourceId() {
        return Optional.ofNullable(this.scanResultsEventGridTopicResourceId);
    }

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

    public static Builder builder(MalwareScanningPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable OnUploadPropertiesResponse onUpload;
        private OperationStatusResponse operationStatus;
        private @Nullable String scanResultsEventGridTopicResourceId;
        public Builder() {}
        public Builder(MalwareScanningPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.onUpload = defaults.onUpload;
    	      this.operationStatus = defaults.operationStatus;
    	      this.scanResultsEventGridTopicResourceId = defaults.scanResultsEventGridTopicResourceId;
        }

        @CustomType.Setter
        public Builder onUpload(@Nullable OnUploadPropertiesResponse onUpload) {

            this.onUpload = onUpload;
            return this;
        }
        @CustomType.Setter
        public Builder operationStatus(OperationStatusResponse operationStatus) {
            if (operationStatus == null) {
              throw new MissingRequiredPropertyException("MalwareScanningPropertiesResponse", "operationStatus");
            }
            this.operationStatus = operationStatus;
            return this;
        }
        @CustomType.Setter
        public Builder scanResultsEventGridTopicResourceId(@Nullable String scanResultsEventGridTopicResourceId) {

            this.scanResultsEventGridTopicResourceId = scanResultsEventGridTopicResourceId;
            return this;
        }
        public MalwareScanningPropertiesResponse build() {
            final var _resultValue = new MalwareScanningPropertiesResponse();
            _resultValue.onUpload = onUpload;
            _resultValue.operationStatus = operationStatus;
            _resultValue.scanResultsEventGridTopicResourceId = scanResultsEventGridTopicResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy