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

com.pulumi.azurenative.securityinsights.outputs.InstructionStepResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.securityinsights.outputs.InstructionStepDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class InstructionStepResponse {
    /**
     * @return Gets or sets the instruction step description.
     * 
     */
    private @Nullable String description;
    /**
     * @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].
     * 
     */
    private @Nullable List innerSteps;
    /**
     * @return Gets or sets the instruction step details.
     * 
     */
    private @Nullable List instructions;
    /**
     * @return Gets or sets the instruction step title.
     * 
     */
    private @Nullable String title;

    private InstructionStepResponse() {}
    /**
     * @return Gets or sets the instruction step description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @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 List innerSteps() {
        return this.innerSteps == null ? List.of() : this.innerSteps;
    }
    /**
     * @return Gets or sets the instruction step details.
     * 
     */
    public List instructions() {
        return this.instructions == null ? List.of() : this.instructions;
    }
    /**
     * @return Gets or sets the instruction step title.
     * 
     */
    public Optional title() {
        return Optional.ofNullable(this.title);
    }

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

    public static Builder builder(InstructionStepResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable List innerSteps;
        private @Nullable List instructions;
        private @Nullable String title;
        public Builder() {}
        public Builder(InstructionStepResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.innerSteps = defaults.innerSteps;
    	      this.instructions = defaults.instructions;
    	      this.title = defaults.title;
        }

        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder innerSteps(@Nullable List innerSteps) {

            this.innerSteps = innerSteps;
            return this;
        }
        public Builder innerSteps(InstructionStepResponse... innerSteps) {
            return innerSteps(List.of(innerSteps));
        }
        @CustomType.Setter
        public Builder instructions(@Nullable List instructions) {

            this.instructions = instructions;
            return this;
        }
        public Builder instructions(InstructionStepDetailsResponse... instructions) {
            return instructions(List.of(instructions));
        }
        @CustomType.Setter
        public Builder title(@Nullable String title) {

            this.title = title;
            return this;
        }
        public InstructionStepResponse build() {
            final var _resultValue = new InstructionStepResponse();
            _resultValue.description = description;
            _resultValue.innerSteps = innerSteps;
            _resultValue.instructions = instructions;
            _resultValue.title = title;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy