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

com.pulumi.azurenative.sql.outputs.JobStepActionResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class JobStepActionResponse {
    /**
     * @return The source of the action to execute.
     * 
     */
    private @Nullable String source;
    /**
     * @return Type of action being executed by the job step.
     * 
     */
    private @Nullable String type;
    /**
     * @return The action value, for example the text of the T-SQL script to execute.
     * 
     */
    private String value;

    private JobStepActionResponse() {}
    /**
     * @return The source of the action to execute.
     * 
     */
    public Optional source() {
        return Optional.ofNullable(this.source);
    }
    /**
     * @return Type of action being executed by the job step.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @return The action value, for example the text of the T-SQL script to execute.
     * 
     */
    public String value() {
        return this.value;
    }

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

    public static Builder builder(JobStepActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String source;
        private @Nullable String type;
        private String value;
        public Builder() {}
        public Builder(JobStepActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.source = defaults.source;
    	      this.type = defaults.type;
    	      this.value = defaults.value;
        }

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

            this.source = source;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("JobStepActionResponse", "value");
            }
            this.value = value;
            return this;
        }
        public JobStepActionResponse build() {
            final var _resultValue = new JobStepActionResponse();
            _resultValue.source = source;
            _resultValue.type = type;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy