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

com.pulumi.azure.logicapps.inputs.ActionCustomState 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.logicapps.inputs;

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


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

    public static final ActionCustomState Empty = new ActionCustomState();

    /**
     * Specifies the JSON Blob defining the Body of this Custom Action.
     * 
     */
    @Import(name="body")
    private @Nullable Output body;

    /**
     * @return Specifies the JSON Blob defining the Body of this Custom Action.
     * 
     */
    public Optional> body() {
        return Optional.ofNullable(this.body);
    }

    /**
     * Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="logicAppId")
    private @Nullable Output logicAppId;

    /**
     * @return Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
     * 
     */
    public Optional> logicAppId() {
        return Optional.ofNullable(this.logicAppId);
    }

    /**
     * Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** This name must be unique across all Actions within the Logic App Workflow.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** This name must be unique across all Actions within the Logic App Workflow.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ActionCustomState() {}

    private ActionCustomState(ActionCustomState $) {
        this.body = $.body;
        this.logicAppId = $.logicAppId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ActionCustomState $;

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

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

        /**
         * @param body Specifies the JSON Blob defining the Body of this Custom Action.
         * 
         * @return builder
         * 
         */
        public Builder body(@Nullable Output body) {
            $.body = body;
            return this;
        }

        /**
         * @param body Specifies the JSON Blob defining the Body of this Custom Action.
         * 
         * @return builder
         * 
         */
        public Builder body(String body) {
            return body(Output.of(body));
        }

        /**
         * @param logicAppId Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder logicAppId(@Nullable Output logicAppId) {
            $.logicAppId = logicAppId;
            return this;
        }

        /**
         * @param logicAppId Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder logicAppId(String logicAppId) {
            return logicAppId(Output.of(logicAppId));
        }

        /**
         * @param name Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** This name must be unique across all Actions within the Logic App Workflow.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** This name must be unique across all Actions within the Logic App Workflow.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ActionCustomState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy