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

com.pulumi.azurenative.datafactory.outputs.ScriptActivityParameterResponse 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.datafactory.outputs;

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

@CustomType
public final class ScriptActivityParameterResponse {
    /**
     * @return The direction of the parameter.
     * 
     */
    private @Nullable String direction;
    /**
     * @return The name of the parameter. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object name;
    /**
     * @return The size of the output direction parameter.
     * 
     */
    private @Nullable Integer size;
    /**
     * @return The type of the parameter.
     * 
     */
    private @Nullable String type;
    /**
     * @return The value of the parameter. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object value;

    private ScriptActivityParameterResponse() {}
    /**
     * @return The direction of the parameter.
     * 
     */
    public Optional direction() {
        return Optional.ofNullable(this.direction);
    }
    /**
     * @return The name of the parameter. Type: string (or Expression with resultType string).
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The size of the output direction parameter.
     * 
     */
    public Optional size() {
        return Optional.ofNullable(this.size);
    }
    /**
     * @return The type of the parameter.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @return The value of the parameter. Type: string (or Expression with resultType string).
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(ScriptActivityParameterResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String direction;
        private @Nullable Object name;
        private @Nullable Integer size;
        private @Nullable String type;
        private @Nullable Object value;
        public Builder() {}
        public Builder(ScriptActivityParameterResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.direction = defaults.direction;
    	      this.name = defaults.name;
    	      this.size = defaults.size;
    	      this.type = defaults.type;
    	      this.value = defaults.value;
        }

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

            this.direction = direction;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable Object name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder size(@Nullable Integer size) {

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

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

            this.value = value;
            return this;
        }
        public ScriptActivityParameterResponse build() {
            final var _resultValue = new ScriptActivityParameterResponse();
            _resultValue.direction = direction;
            _resultValue.name = name;
            _resultValue.size = size;
            _resultValue.type = type;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}