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

com.pulumi.azurenative.securityinsights.inputs.InstructionStepArgs 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.securityinsights.inputs;

import com.pulumi.azurenative.securityinsights.inputs.InstructionStepDetailsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Instruction steps to enable the connector.
 * 
 */
public final class InstructionStepArgs extends com.pulumi.resources.ResourceArgs {

    public static final InstructionStepArgs Empty = new InstructionStepArgs();

    /**
     * Gets or sets the instruction step description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Gets or sets the instruction step description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Gets or sets the inner instruction steps details.
     * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].
     * 
     */
    @Import(name="innerSteps")
    private @Nullable Output> innerSteps;

    /**
     * @return Gets or sets the inner instruction steps details.
     * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].
     * 
     */
    public Optional>> innerSteps() {
        return Optional.ofNullable(this.innerSteps);
    }

    /**
     * Gets or sets the instruction step details.
     * 
     */
    @Import(name="instructions")
    private @Nullable Output> instructions;

    /**
     * @return Gets or sets the instruction step details.
     * 
     */
    public Optional>> instructions() {
        return Optional.ofNullable(this.instructions);
    }

    /**
     * Gets or sets the instruction step title.
     * 
     */
    @Import(name="title")
    private @Nullable Output title;

    /**
     * @return Gets or sets the instruction step title.
     * 
     */
    public Optional> title() {
        return Optional.ofNullable(this.title);
    }

    private InstructionStepArgs() {}

    private InstructionStepArgs(InstructionStepArgs $) {
        this.description = $.description;
        this.innerSteps = $.innerSteps;
        this.instructions = $.instructions;
        this.title = $.title;
    }

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

    public static final class Builder {
        private InstructionStepArgs $;

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

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

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

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

        /**
         * @param innerSteps Gets or sets the inner instruction steps details.
         * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].
         * 
         * @return builder
         * 
         */
        public Builder innerSteps(@Nullable Output> innerSteps) {
            $.innerSteps = innerSteps;
            return this;
        }

        /**
         * @param innerSteps Gets or sets the inner instruction steps details.
         * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].
         * 
         * @return builder
         * 
         */
        public Builder innerSteps(List innerSteps) {
            return innerSteps(Output.of(innerSteps));
        }

        /**
         * @param innerSteps Gets or sets the inner instruction steps details.
         * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].
         * 
         * @return builder
         * 
         */
        public Builder innerSteps(InstructionStepArgs... innerSteps) {
            return innerSteps(List.of(innerSteps));
        }

        /**
         * @param instructions Gets or sets the instruction step details.
         * 
         * @return builder
         * 
         */
        public Builder instructions(@Nullable Output> instructions) {
            $.instructions = instructions;
            return this;
        }

        /**
         * @param instructions Gets or sets the instruction step details.
         * 
         * @return builder
         * 
         */
        public Builder instructions(List instructions) {
            return instructions(Output.of(instructions));
        }

        /**
         * @param instructions Gets or sets the instruction step details.
         * 
         * @return builder
         * 
         */
        public Builder instructions(InstructionStepDetailsArgs... instructions) {
            return instructions(List.of(instructions));
        }

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

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

        public InstructionStepArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy