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

com.pulumi.azurenative.securityinsights.inputs.ThreatIntelligenceGranularMarkingModelArgs 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.securityinsights.inputs;

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


/**
 * Describes threat granular marking model entity
 * 
 */
public final class ThreatIntelligenceGranularMarkingModelArgs extends com.pulumi.resources.ResourceArgs {

    public static final ThreatIntelligenceGranularMarkingModelArgs Empty = new ThreatIntelligenceGranularMarkingModelArgs();

    /**
     * Language granular marking model
     * 
     */
    @Import(name="language")
    private @Nullable Output language;

    /**
     * @return Language granular marking model
     * 
     */
    public Optional> language() {
        return Optional.ofNullable(this.language);
    }

    /**
     * marking reference granular marking model
     * 
     */
    @Import(name="markingRef")
    private @Nullable Output markingRef;

    /**
     * @return marking reference granular marking model
     * 
     */
    public Optional> markingRef() {
        return Optional.ofNullable(this.markingRef);
    }

    /**
     * granular marking model selectors
     * 
     */
    @Import(name="selectors")
    private @Nullable Output> selectors;

    /**
     * @return granular marking model selectors
     * 
     */
    public Optional>> selectors() {
        return Optional.ofNullable(this.selectors);
    }

    private ThreatIntelligenceGranularMarkingModelArgs() {}

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

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

    public static final class Builder {
        private ThreatIntelligenceGranularMarkingModelArgs $;

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

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

        /**
         * @param language Language granular marking model
         * 
         * @return builder
         * 
         */
        public Builder language(@Nullable Output language) {
            $.language = language;
            return this;
        }

        /**
         * @param language Language granular marking model
         * 
         * @return builder
         * 
         */
        public Builder language(String language) {
            return language(Output.of(language));
        }

        /**
         * @param markingRef marking reference granular marking model
         * 
         * @return builder
         * 
         */
        public Builder markingRef(@Nullable Output markingRef) {
            $.markingRef = markingRef;
            return this;
        }

        /**
         * @param markingRef marking reference granular marking model
         * 
         * @return builder
         * 
         */
        public Builder markingRef(Integer markingRef) {
            return markingRef(Output.of(markingRef));
        }

        /**
         * @param selectors granular marking model selectors
         * 
         * @return builder
         * 
         */
        public Builder selectors(@Nullable Output> selectors) {
            $.selectors = selectors;
            return this;
        }

        /**
         * @param selectors granular marking model selectors
         * 
         * @return builder
         * 
         */
        public Builder selectors(List selectors) {
            return selectors(Output.of(selectors));
        }

        /**
         * @param selectors granular marking model selectors
         * 
         * @return builder
         * 
         */
        public Builder selectors(String... selectors) {
            return selectors(List.of(selectors));
        }

        public ThreatIntelligenceGranularMarkingModelArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy