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

com.pulumi.azurenative.logic.WorkflowAccessKeyArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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;

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 WorkflowAccessKeyArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkflowAccessKeyArgs Empty = new WorkflowAccessKeyArgs();

    /**
     * The workflow access key name.
     * 
     */
    @Import(name="accessKeyName")
    private @Nullable Output accessKeyName;

    /**
     * @return The workflow access key name.
     * 
     */
    public Optional> accessKeyName() {
        return Optional.ofNullable(this.accessKeyName);
    }

    /**
     * Gets or sets the resource id.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Gets or sets the resource id.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Gets or sets the not-after time.
     * 
     */
    @Import(name="notAfter")
    private @Nullable Output notAfter;

    /**
     * @return Gets or sets the not-after time.
     * 
     */
    public Optional> notAfter() {
        return Optional.ofNullable(this.notAfter);
    }

    /**
     * Gets or sets the not-before time.
     * 
     */
    @Import(name="notBefore")
    private @Nullable Output notBefore;

    /**
     * @return Gets or sets the not-before time.
     * 
     */
    public Optional> notBefore() {
        return Optional.ofNullable(this.notBefore);
    }

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

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

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

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

    private WorkflowAccessKeyArgs() {}

    private WorkflowAccessKeyArgs(WorkflowAccessKeyArgs $) {
        this.accessKeyName = $.accessKeyName;
        this.id = $.id;
        this.notAfter = $.notAfter;
        this.notBefore = $.notBefore;
        this.resourceGroupName = $.resourceGroupName;
        this.workflowName = $.workflowName;
    }

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

    public static final class Builder {
        private WorkflowAccessKeyArgs $;

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

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

        /**
         * @param accessKeyName The workflow access key name.
         * 
         * @return builder
         * 
         */
        public Builder accessKeyName(@Nullable Output accessKeyName) {
            $.accessKeyName = accessKeyName;
            return this;
        }

        /**
         * @param accessKeyName The workflow access key name.
         * 
         * @return builder
         * 
         */
        public Builder accessKeyName(String accessKeyName) {
            return accessKeyName(Output.of(accessKeyName));
        }

        /**
         * @param id Gets or sets the resource id.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Gets or sets the resource id.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param notAfter Gets or sets the not-after time.
         * 
         * @return builder
         * 
         */
        public Builder notAfter(@Nullable Output notAfter) {
            $.notAfter = notAfter;
            return this;
        }

        /**
         * @param notAfter Gets or sets the not-after time.
         * 
         * @return builder
         * 
         */
        public Builder notAfter(String notAfter) {
            return notAfter(Output.of(notAfter));
        }

        /**
         * @param notBefore Gets or sets the not-before time.
         * 
         * @return builder
         * 
         */
        public Builder notBefore(@Nullable Output notBefore) {
            $.notBefore = notBefore;
            return this;
        }

        /**
         * @param notBefore Gets or sets the not-before time.
         * 
         * @return builder
         * 
         */
        public Builder notBefore(String notBefore) {
            return notBefore(Output.of(notBefore));
        }

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

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

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

        /**
         * @param workflowName The workflow name.
         * 
         * @return builder
         * 
         */
        public Builder workflowName(String workflowName) {
            return workflowName(Output.of(workflowName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy