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

com.pulumi.azure.sentinel.inputs.ThreatIntelligenceIndicatorGranularMarkingArgs 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.azure.sentinel.inputs;

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


public final class ThreatIntelligenceIndicatorGranularMarkingArgs extends com.pulumi.resources.ResourceArgs {

    public static final ThreatIntelligenceIndicatorGranularMarkingArgs Empty = new ThreatIntelligenceIndicatorGranularMarkingArgs();

    /**
     * The language of granular marking of the Threat Intelligence Indicator.
     * 
     */
    @Import(name="language")
    private @Nullable Output language;

    /**
     * @return The language of granular marking of the Threat Intelligence Indicator.
     * 
     */
    public Optional> language() {
        return Optional.ofNullable(this.language);
    }

    /**
     * The reference of the granular marking of the Threat Intelligence Indicator.
     * 
     */
    @Import(name="markingRef")
    private @Nullable Output markingRef;

    /**
     * @return The reference of the granular marking of the Threat Intelligence Indicator.
     * 
     */
    public Optional> markingRef() {
        return Optional.ofNullable(this.markingRef);
    }

    /**
     * A list of selectors of the granular marking of the Threat Intelligence Indicator.
     * 
     */
    @Import(name="selectors")
    private @Nullable Output> selectors;

    /**
     * @return A list of selectors of the granular marking of the Threat Intelligence Indicator.
     * 
     */
    public Optional>> selectors() {
        return Optional.ofNullable(this.selectors);
    }

    private ThreatIntelligenceIndicatorGranularMarkingArgs() {}

    private ThreatIntelligenceIndicatorGranularMarkingArgs(ThreatIntelligenceIndicatorGranularMarkingArgs $) {
        this.language = $.language;
        this.markingRef = $.markingRef;
        this.selectors = $.selectors;
    }

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

    public static final class Builder {
        private ThreatIntelligenceIndicatorGranularMarkingArgs $;

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

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

        /**
         * @param language The language of granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder language(@Nullable Output language) {
            $.language = language;
            return this;
        }

        /**
         * @param language The language of granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder language(String language) {
            return language(Output.of(language));
        }

        /**
         * @param markingRef The reference of the granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder markingRef(@Nullable Output markingRef) {
            $.markingRef = markingRef;
            return this;
        }

        /**
         * @param markingRef The reference of the granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder markingRef(String markingRef) {
            return markingRef(Output.of(markingRef));
        }

        /**
         * @param selectors A list of selectors of the granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder selectors(@Nullable Output> selectors) {
            $.selectors = selectors;
            return this;
        }

        /**
         * @param selectors A list of selectors of the granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder selectors(List selectors) {
            return selectors(Output.of(selectors));
        }

        /**
         * @param selectors A list of selectors of the granular marking of the Threat Intelligence Indicator.
         * 
         * @return builder
         * 
         */
        public Builder selectors(String... selectors) {
            return selectors(List.of(selectors));
        }

        public ThreatIntelligenceIndicatorGranularMarkingArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy