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

com.pulumi.azurenative.automation.inputs.RunbookDraftArgs 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.automation.inputs;

import com.pulumi.azurenative.automation.inputs.ContentLinkArgs;
import com.pulumi.azurenative.automation.inputs.RunbookParameterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RunbookDraftArgs Empty = new RunbookDraftArgs();

    /**
     * Gets or sets the creation time of the runbook draft.
     * 
     */
    @Import(name="creationTime")
    private @Nullable Output creationTime;

    /**
     * @return Gets or sets the creation time of the runbook draft.
     * 
     */
    public Optional> creationTime() {
        return Optional.ofNullable(this.creationTime);
    }

    /**
     * Gets or sets the draft runbook content link.
     * 
     */
    @Import(name="draftContentLink")
    private @Nullable Output draftContentLink;

    /**
     * @return Gets or sets the draft runbook content link.
     * 
     */
    public Optional> draftContentLink() {
        return Optional.ofNullable(this.draftContentLink);
    }

    /**
     * Gets or sets whether runbook is in edit mode.
     * 
     */
    @Import(name="inEdit")
    private @Nullable Output inEdit;

    /**
     * @return Gets or sets whether runbook is in edit mode.
     * 
     */
    public Optional> inEdit() {
        return Optional.ofNullable(this.inEdit);
    }

    /**
     * Gets or sets the last modified time of the runbook draft.
     * 
     */
    @Import(name="lastModifiedTime")
    private @Nullable Output lastModifiedTime;

    /**
     * @return Gets or sets the last modified time of the runbook draft.
     * 
     */
    public Optional> lastModifiedTime() {
        return Optional.ofNullable(this.lastModifiedTime);
    }

    /**
     * Gets or sets the runbook output types.
     * 
     */
    @Import(name="outputTypes")
    private @Nullable Output> outputTypes;

    /**
     * @return Gets or sets the runbook output types.
     * 
     */
    public Optional>> outputTypes() {
        return Optional.ofNullable(this.outputTypes);
    }

    /**
     * Gets or sets the runbook draft parameters.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return Gets or sets the runbook draft parameters.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    private RunbookDraftArgs() {}

    private RunbookDraftArgs(RunbookDraftArgs $) {
        this.creationTime = $.creationTime;
        this.draftContentLink = $.draftContentLink;
        this.inEdit = $.inEdit;
        this.lastModifiedTime = $.lastModifiedTime;
        this.outputTypes = $.outputTypes;
        this.parameters = $.parameters;
    }

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

    public static final class Builder {
        private RunbookDraftArgs $;

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

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

        /**
         * @param creationTime Gets or sets the creation time of the runbook draft.
         * 
         * @return builder
         * 
         */
        public Builder creationTime(@Nullable Output creationTime) {
            $.creationTime = creationTime;
            return this;
        }

        /**
         * @param creationTime Gets or sets the creation time of the runbook draft.
         * 
         * @return builder
         * 
         */
        public Builder creationTime(String creationTime) {
            return creationTime(Output.of(creationTime));
        }

        /**
         * @param draftContentLink Gets or sets the draft runbook content link.
         * 
         * @return builder
         * 
         */
        public Builder draftContentLink(@Nullable Output draftContentLink) {
            $.draftContentLink = draftContentLink;
            return this;
        }

        /**
         * @param draftContentLink Gets or sets the draft runbook content link.
         * 
         * @return builder
         * 
         */
        public Builder draftContentLink(ContentLinkArgs draftContentLink) {
            return draftContentLink(Output.of(draftContentLink));
        }

        /**
         * @param inEdit Gets or sets whether runbook is in edit mode.
         * 
         * @return builder
         * 
         */
        public Builder inEdit(@Nullable Output inEdit) {
            $.inEdit = inEdit;
            return this;
        }

        /**
         * @param inEdit Gets or sets whether runbook is in edit mode.
         * 
         * @return builder
         * 
         */
        public Builder inEdit(Boolean inEdit) {
            return inEdit(Output.of(inEdit));
        }

        /**
         * @param lastModifiedTime Gets or sets the last modified time of the runbook draft.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedTime(@Nullable Output lastModifiedTime) {
            $.lastModifiedTime = lastModifiedTime;
            return this;
        }

        /**
         * @param lastModifiedTime Gets or sets the last modified time of the runbook draft.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedTime(String lastModifiedTime) {
            return lastModifiedTime(Output.of(lastModifiedTime));
        }

        /**
         * @param outputTypes Gets or sets the runbook output types.
         * 
         * @return builder
         * 
         */
        public Builder outputTypes(@Nullable Output> outputTypes) {
            $.outputTypes = outputTypes;
            return this;
        }

        /**
         * @param outputTypes Gets or sets the runbook output types.
         * 
         * @return builder
         * 
         */
        public Builder outputTypes(List outputTypes) {
            return outputTypes(Output.of(outputTypes));
        }

        /**
         * @param outputTypes Gets or sets the runbook output types.
         * 
         * @return builder
         * 
         */
        public Builder outputTypes(String... outputTypes) {
            return outputTypes(List.of(outputTypes));
        }

        /**
         * @param parameters Gets or sets the runbook draft parameters.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Gets or sets the runbook draft parameters.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Map parameters) {
            return parameters(Output.of(parameters));
        }

        public RunbookDraftArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy