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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;


/**
 * Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal.
 * 
 */
public final class InstructionStepDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final InstructionStepDetailsArgs Empty = new InstructionStepDetailsArgs();

    /**
     * Gets or sets the instruction type parameters settings.
     * 
     */
    @Import(name="parameters", required=true)
    private Output parameters;

    /**
     * @return Gets or sets the instruction type parameters settings.
     * 
     */
    public Output parameters() {
        return this.parameters;
    }

    /**
     * Gets or sets the instruction type name.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Gets or sets the instruction type name.
     * 
     */
    public Output type() {
        return this.type;
    }

    private InstructionStepDetailsArgs() {}

    private InstructionStepDetailsArgs(InstructionStepDetailsArgs $) {
        this.parameters = $.parameters;
        this.type = $.type;
    }

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

    public static final class Builder {
        private InstructionStepDetailsArgs $;

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

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

        /**
         * @param parameters Gets or sets the instruction type parameters settings.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Gets or sets the instruction type parameters settings.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Object parameters) {
            return parameters(Output.of(parameters));
        }

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

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

        public InstructionStepDetailsArgs build() {
            if ($.parameters == null) {
                throw new MissingRequiredPropertyException("InstructionStepDetailsArgs", "parameters");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("InstructionStepDetailsArgs", "type");
            }
            return $;
        }
    }

}