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

com.pulumi.azurenative.logic.inputs.ListWorkflowVersionTriggerCallbackUrlPlainArgs 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.logic.inputs;

import com.pulumi.azurenative.logic.enums.KeyType;
import com.pulumi.core.Either;
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 ListWorkflowVersionTriggerCallbackUrlPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListWorkflowVersionTriggerCallbackUrlPlainArgs Empty = new ListWorkflowVersionTriggerCallbackUrlPlainArgs();

    /**
     * The key type.
     * 
     */
    @Import(name="keyType")
    private @Nullable Either keyType;

    /**
     * @return The key type.
     * 
     */
    public Optional> keyType() {
        return Optional.ofNullable(this.keyType);
    }

    /**
     * The expiry time.
     * 
     */
    @Import(name="notAfter")
    private @Nullable String notAfter;

    /**
     * @return The expiry time.
     * 
     */
    public Optional notAfter() {
        return Optional.ofNullable(this.notAfter);
    }

    /**
     * The resource group name.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The resource group name.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The workflow trigger name.
     * 
     */
    @Import(name="triggerName", required=true)
    private String triggerName;

    /**
     * @return The workflow trigger name.
     * 
     */
    public String triggerName() {
        return this.triggerName;
    }

    /**
     * The workflow versionId.
     * 
     */
    @Import(name="versionId", required=true)
    private String versionId;

    /**
     * @return The workflow versionId.
     * 
     */
    public String versionId() {
        return this.versionId;
    }

    /**
     * The workflow name.
     * 
     */
    @Import(name="workflowName", required=true)
    private String workflowName;

    /**
     * @return The workflow name.
     * 
     */
    public String workflowName() {
        return this.workflowName;
    }

    private ListWorkflowVersionTriggerCallbackUrlPlainArgs() {}

    private ListWorkflowVersionTriggerCallbackUrlPlainArgs(ListWorkflowVersionTriggerCallbackUrlPlainArgs $) {
        this.keyType = $.keyType;
        this.notAfter = $.notAfter;
        this.resourceGroupName = $.resourceGroupName;
        this.triggerName = $.triggerName;
        this.versionId = $.versionId;
        this.workflowName = $.workflowName;
    }

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

    public static final class Builder {
        private ListWorkflowVersionTriggerCallbackUrlPlainArgs $;

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

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

        /**
         * @param keyType The key type.
         * 
         * @return builder
         * 
         */
        public Builder keyType(@Nullable Either keyType) {
            $.keyType = keyType;
            return this;
        }

        /**
         * @param keyType The key type.
         * 
         * @return builder
         * 
         */
        public Builder keyType(String keyType) {
            return keyType(Either.ofLeft(keyType));
        }

        /**
         * @param keyType The key type.
         * 
         * @return builder
         * 
         */
        public Builder keyType(KeyType keyType) {
            return keyType(Either.ofRight(keyType));
        }

        /**
         * @param notAfter The expiry time.
         * 
         * @return builder
         * 
         */
        public Builder notAfter(@Nullable String notAfter) {
            $.notAfter = notAfter;
            return this;
        }

        /**
         * @param resourceGroupName The resource group name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param triggerName The workflow trigger name.
         * 
         * @return builder
         * 
         */
        public Builder triggerName(String triggerName) {
            $.triggerName = triggerName;
            return this;
        }

        /**
         * @param versionId The workflow versionId.
         * 
         * @return builder
         * 
         */
        public Builder versionId(String versionId) {
            $.versionId = versionId;
            return this;
        }

        /**
         * @param workflowName The workflow name.
         * 
         * @return builder
         * 
         */
        public Builder workflowName(String workflowName) {
            $.workflowName = workflowName;
            return this;
        }

        public ListWorkflowVersionTriggerCallbackUrlPlainArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ListWorkflowVersionTriggerCallbackUrlPlainArgs", "resourceGroupName");
            }
            if ($.triggerName == null) {
                throw new MissingRequiredPropertyException("ListWorkflowVersionTriggerCallbackUrlPlainArgs", "triggerName");
            }
            if ($.versionId == null) {
                throw new MissingRequiredPropertyException("ListWorkflowVersionTriggerCallbackUrlPlainArgs", "versionId");
            }
            if ($.workflowName == null) {
                throw new MissingRequiredPropertyException("ListWorkflowVersionTriggerCallbackUrlPlainArgs", "workflowName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy