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

com.pulumi.azurenative.security.outputs.AutomationActionLogicAppResponse 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.azurenative.security.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AutomationActionLogicAppResponse {
    /**
     * @return The type of the action that will be triggered by the Automation
     * Expected value is 'LogicApp'.
     * 
     */
    private String actionType;
    /**
     * @return The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App
     * 
     */
    private @Nullable String logicAppResourceId;
    /**
     * @return The Logic App trigger URI endpoint (it will not be included in any response).
     * 
     */
    private @Nullable String uri;

    private AutomationActionLogicAppResponse() {}
    /**
     * @return The type of the action that will be triggered by the Automation
     * Expected value is 'LogicApp'.
     * 
     */
    public String actionType() {
        return this.actionType;
    }
    /**
     * @return The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App
     * 
     */
    public Optional logicAppResourceId() {
        return Optional.ofNullable(this.logicAppResourceId);
    }
    /**
     * @return The Logic App trigger URI endpoint (it will not be included in any response).
     * 
     */
    public Optional uri() {
        return Optional.ofNullable(this.uri);
    }

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

    public static Builder builder(AutomationActionLogicAppResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String actionType;
        private @Nullable String logicAppResourceId;
        private @Nullable String uri;
        public Builder() {}
        public Builder(AutomationActionLogicAppResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.actionType = defaults.actionType;
    	      this.logicAppResourceId = defaults.logicAppResourceId;
    	      this.uri = defaults.uri;
        }

        @CustomType.Setter
        public Builder actionType(String actionType) {
            if (actionType == null) {
              throw new MissingRequiredPropertyException("AutomationActionLogicAppResponse", "actionType");
            }
            this.actionType = actionType;
            return this;
        }
        @CustomType.Setter
        public Builder logicAppResourceId(@Nullable String logicAppResourceId) {

            this.logicAppResourceId = logicAppResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder uri(@Nullable String uri) {

            this.uri = uri;
            return this;
        }
        public AutomationActionLogicAppResponse build() {
            final var _resultValue = new AutomationActionLogicAppResponse();
            _resultValue.actionType = actionType;
            _resultValue.logicAppResourceId = logicAppResourceId;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy