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

com.pulumi.azurenative.sql.outputs.JobStepOutputResponse 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 JobStepOutputResponse {
    /**
     * @return The resource ID of the credential to use to connect to the output destination.
     * 
     */
    private String credential;
    /**
     * @return The output destination database.
     * 
     */
    private String databaseName;
    /**
     * @return The output destination resource group.
     * 
     */
    private @Nullable String resourceGroupName;
    /**
     * @return The output destination schema.
     * 
     */
    private @Nullable String schemaName;
    /**
     * @return The output destination server name.
     * 
     */
    private String serverName;
    /**
     * @return The output destination subscription id.
     * 
     */
    private @Nullable String subscriptionId;
    /**
     * @return The output destination table.
     * 
     */
    private String tableName;
    /**
     * @return The output destination type.
     * 
     */
    private @Nullable String type;

    private JobStepOutputResponse() {}
    /**
     * @return The resource ID of the credential to use to connect to the output destination.
     * 
     */
    public String credential() {
        return this.credential;
    }
    /**
     * @return The output destination database.
     * 
     */
    public String databaseName() {
        return this.databaseName;
    }
    /**
     * @return The output destination resource group.
     * 
     */
    public Optional resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }
    /**
     * @return The output destination schema.
     * 
     */
    public Optional schemaName() {
        return Optional.ofNullable(this.schemaName);
    }
    /**
     * @return The output destination server name.
     * 
     */
    public String serverName() {
        return this.serverName;
    }
    /**
     * @return The output destination subscription id.
     * 
     */
    public Optional subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }
    /**
     * @return The output destination table.
     * 
     */
    public String tableName() {
        return this.tableName;
    }
    /**
     * @return The output destination type.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(JobStepOutputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String credential;
        private String databaseName;
        private @Nullable String resourceGroupName;
        private @Nullable String schemaName;
        private String serverName;
        private @Nullable String subscriptionId;
        private String tableName;
        private @Nullable String type;
        public Builder() {}
        public Builder(JobStepOutputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.credential = defaults.credential;
    	      this.databaseName = defaults.databaseName;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.schemaName = defaults.schemaName;
    	      this.serverName = defaults.serverName;
    	      this.subscriptionId = defaults.subscriptionId;
    	      this.tableName = defaults.tableName;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder credential(String credential) {
            if (credential == null) {
              throw new MissingRequiredPropertyException("JobStepOutputResponse", "credential");
            }
            this.credential = credential;
            return this;
        }
        @CustomType.Setter
        public Builder databaseName(String databaseName) {
            if (databaseName == null) {
              throw new MissingRequiredPropertyException("JobStepOutputResponse", "databaseName");
            }
            this.databaseName = databaseName;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(@Nullable String resourceGroupName) {

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

            this.schemaName = schemaName;
            return this;
        }
        @CustomType.Setter
        public Builder serverName(String serverName) {
            if (serverName == null) {
              throw new MissingRequiredPropertyException("JobStepOutputResponse", "serverName");
            }
            this.serverName = serverName;
            return this;
        }
        @CustomType.Setter
        public Builder subscriptionId(@Nullable String subscriptionId) {

            this.subscriptionId = subscriptionId;
            return this;
        }
        @CustomType.Setter
        public Builder tableName(String tableName) {
            if (tableName == null) {
              throw new MissingRequiredPropertyException("JobStepOutputResponse", "tableName");
            }
            this.tableName = tableName;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public JobStepOutputResponse build() {
            final var _resultValue = new JobStepOutputResponse();
            _resultValue.credential = credential;
            _resultValue.databaseName = databaseName;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.schemaName = schemaName;
            _resultValue.serverName = serverName;
            _resultValue.subscriptionId = subscriptionId;
            _resultValue.tableName = tableName;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy