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

com.pulumi.azurenative.datafactory.outputs.DWCopyCommandDefaultValueResponse 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.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DWCopyCommandDefaultValueResponse {
    /**
     * @return Column name. Type: object (or Expression with resultType string).
     * 
     */
    private @Nullable Object columnName;
    /**
     * @return The default value of the column. Type: object (or Expression with resultType string).
     * 
     */
    private @Nullable Object defaultValue;

    private DWCopyCommandDefaultValueResponse() {}
    /**
     * @return Column name. Type: object (or Expression with resultType string).
     * 
     */
    public Optional columnName() {
        return Optional.ofNullable(this.columnName);
    }
    /**
     * @return The default value of the column. Type: object (or Expression with resultType string).
     * 
     */
    public Optional defaultValue() {
        return Optional.ofNullable(this.defaultValue);
    }

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

    public static Builder builder(DWCopyCommandDefaultValueResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object columnName;
        private @Nullable Object defaultValue;
        public Builder() {}
        public Builder(DWCopyCommandDefaultValueResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.columnName = defaults.columnName;
    	      this.defaultValue = defaults.defaultValue;
        }

        @CustomType.Setter
        public Builder columnName(@Nullable Object columnName) {

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

            this.defaultValue = defaultValue;
            return this;
        }
        public DWCopyCommandDefaultValueResponse build() {
            final var _resultValue = new DWCopyCommandDefaultValueResponse();
            _resultValue.columnName = columnName;
            _resultValue.defaultValue = defaultValue;
            return _resultValue;
        }
    }
}