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

com.pulumi.azurenative.securityinsights.inputs.PlaybookActionPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PlaybookActionPropertiesArgs Empty = new PlaybookActionPropertiesArgs();

    /**
     * The resource id of the playbook resource.
     * 
     */
    @Import(name="logicAppResourceId", required=true)
    private Output logicAppResourceId;

    /**
     * @return The resource id of the playbook resource.
     * 
     */
    public Output logicAppResourceId() {
        return this.logicAppResourceId;
    }

    /**
     * The tenant id of the playbook resource.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return The tenant id of the playbook resource.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private PlaybookActionPropertiesArgs() {}

    private PlaybookActionPropertiesArgs(PlaybookActionPropertiesArgs $) {
        this.logicAppResourceId = $.logicAppResourceId;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private PlaybookActionPropertiesArgs $;

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

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

        /**
         * @param logicAppResourceId The resource id of the playbook resource.
         * 
         * @return builder
         * 
         */
        public Builder logicAppResourceId(Output logicAppResourceId) {
            $.logicAppResourceId = logicAppResourceId;
            return this;
        }

        /**
         * @param logicAppResourceId The resource id of the playbook resource.
         * 
         * @return builder
         * 
         */
        public Builder logicAppResourceId(String logicAppResourceId) {
            return logicAppResourceId(Output.of(logicAppResourceId));
        }

        /**
         * @param tenantId The tenant id of the playbook resource.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The tenant id of the playbook resource.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public PlaybookActionPropertiesArgs build() {
            if ($.logicAppResourceId == null) {
                throw new MissingRequiredPropertyException("PlaybookActionPropertiesArgs", "logicAppResourceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy