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

com.pulumi.azurenative.security.inputs.DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.security.inputs;

import com.pulumi.azurenative.security.enums.ScanningMode;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * configuration for Microsoft Defender for Server VM scanning
 * 
 */
public final class DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs Empty = new DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs();

    /**
     * The cloud role ARN in AWS for this feature
     * 
     */
    @Import(name="cloudRoleArn")
    private @Nullable Output cloudRoleArn;

    /**
     * @return The cloud role ARN in AWS for this feature
     * 
     */
    public Optional> cloudRoleArn() {
        return Optional.ofNullable(this.cloudRoleArn);
    }

    /**
     * VM tags that indicates that VM should not be scanned
     * 
     */
    @Import(name="exclusionTags")
    private @Nullable Output> exclusionTags;

    /**
     * @return VM tags that indicates that VM should not be scanned
     * 
     */
    public Optional>> exclusionTags() {
        return Optional.ofNullable(this.exclusionTags);
    }

    /**
     * The scanning mode for the VM scan.
     * 
     */
    @Import(name="scanningMode")
    private @Nullable Output> scanningMode;

    /**
     * @return The scanning mode for the VM scan.
     * 
     */
    public Optional>> scanningMode() {
        return Optional.ofNullable(this.scanningMode);
    }

    private DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs() {}

    private DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs(DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs $) {
        this.cloudRoleArn = $.cloudRoleArn;
        this.exclusionTags = $.exclusionTags;
        this.scanningMode = $.scanningMode;
    }

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

    public static final class Builder {
        private DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs $;

        public Builder() {
            $ = new DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs();
        }

        public Builder(DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs defaults) {
            $ = new DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param cloudRoleArn The cloud role ARN in AWS for this feature
         * 
         * @return builder
         * 
         */
        public Builder cloudRoleArn(@Nullable Output cloudRoleArn) {
            $.cloudRoleArn = cloudRoleArn;
            return this;
        }

        /**
         * @param cloudRoleArn The cloud role ARN in AWS for this feature
         * 
         * @return builder
         * 
         */
        public Builder cloudRoleArn(String cloudRoleArn) {
            return cloudRoleArn(Output.of(cloudRoleArn));
        }

        /**
         * @param exclusionTags VM tags that indicates that VM should not be scanned
         * 
         * @return builder
         * 
         */
        public Builder exclusionTags(@Nullable Output> exclusionTags) {
            $.exclusionTags = exclusionTags;
            return this;
        }

        /**
         * @param exclusionTags VM tags that indicates that VM should not be scanned
         * 
         * @return builder
         * 
         */
        public Builder exclusionTags(Map exclusionTags) {
            return exclusionTags(Output.of(exclusionTags));
        }

        /**
         * @param scanningMode The scanning mode for the VM scan.
         * 
         * @return builder
         * 
         */
        public Builder scanningMode(@Nullable Output> scanningMode) {
            $.scanningMode = scanningMode;
            return this;
        }

        /**
         * @param scanningMode The scanning mode for the VM scan.
         * 
         * @return builder
         * 
         */
        public Builder scanningMode(Either scanningMode) {
            return scanningMode(Output.of(scanningMode));
        }

        /**
         * @param scanningMode The scanning mode for the VM scan.
         * 
         * @return builder
         * 
         */
        public Builder scanningMode(String scanningMode) {
            return scanningMode(Either.ofLeft(scanningMode));
        }

        /**
         * @param scanningMode The scanning mode for the VM scan.
         * 
         * @return builder
         * 
         */
        public Builder scanningMode(ScanningMode scanningMode) {
            return scanningMode(Either.ofRight(scanningMode));
        }

        public DefenderForServersAwsOfferingConfigurationConfigurationConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy