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

com.pulumi.azure.sentinel.inputs.AuthomationRuleActionPlaybookArgs 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AuthomationRuleActionPlaybookArgs Empty = new AuthomationRuleActionPlaybookArgs();

    /**
     * The ID of the Logic App that defines the playbook's logic.
     * 
     */
    @Import(name="logicAppId", required=true)
    private Output logicAppId;

    /**
     * @return The ID of the Logic App that defines the playbook's logic.
     * 
     */
    public Output logicAppId() {
        return this.logicAppId;
    }

    /**
     * The execution order of this action.
     * 
     */
    @Import(name="order", required=true)
    private Output order;

    /**
     * @return The execution order of this action.
     * 
     */
    public Output order() {
        return this.order;
    }

    /**
     * The ID of the Tenant that owns the playbook.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return The ID of the Tenant that owns the playbook.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private AuthomationRuleActionPlaybookArgs() {}

    private AuthomationRuleActionPlaybookArgs(AuthomationRuleActionPlaybookArgs $) {
        this.logicAppId = $.logicAppId;
        this.order = $.order;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private AuthomationRuleActionPlaybookArgs $;

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

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

        /**
         * @param logicAppId The ID of the Logic App that defines the playbook's logic.
         * 
         * @return builder
         * 
         */
        public Builder logicAppId(Output logicAppId) {
            $.logicAppId = logicAppId;
            return this;
        }

        /**
         * @param logicAppId The ID of the Logic App that defines the playbook's logic.
         * 
         * @return builder
         * 
         */
        public Builder logicAppId(String logicAppId) {
            return logicAppId(Output.of(logicAppId));
        }

        /**
         * @param order The execution order of this action.
         * 
         * @return builder
         * 
         */
        public Builder order(Output order) {
            $.order = order;
            return this;
        }

        /**
         * @param order The execution order of this action.
         * 
         * @return builder
         * 
         */
        public Builder order(Integer order) {
            return order(Output.of(order));
        }

        /**
         * @param tenantId The ID of the Tenant that owns the playbook.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The ID of the Tenant that owns the playbook.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public AuthomationRuleActionPlaybookArgs build() {
            if ($.logicAppId == null) {
                throw new MissingRequiredPropertyException("AuthomationRuleActionPlaybookArgs", "logicAppId");
            }
            if ($.order == null) {
                throw new MissingRequiredPropertyException("AuthomationRuleActionPlaybookArgs", "order");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy