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

com.pulumi.azurenative.datamigration.outputs.ConnectToSourcePostgreSqlSyncTaskInputResponse 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.datamigration.outputs;

import com.pulumi.azurenative.datamigration.outputs.PostgreSqlConnectionInfoResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class ConnectToSourcePostgreSqlSyncTaskInputResponse {
    /**
     * @return Connection information for source PostgreSQL server
     * 
     */
    private PostgreSqlConnectionInfoResponse sourceConnectionInfo;

    private ConnectToSourcePostgreSqlSyncTaskInputResponse() {}
    /**
     * @return Connection information for source PostgreSQL server
     * 
     */
    public PostgreSqlConnectionInfoResponse sourceConnectionInfo() {
        return this.sourceConnectionInfo;
    }

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

    public static Builder builder(ConnectToSourcePostgreSqlSyncTaskInputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private PostgreSqlConnectionInfoResponse sourceConnectionInfo;
        public Builder() {}
        public Builder(ConnectToSourcePostgreSqlSyncTaskInputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourceConnectionInfo = defaults.sourceConnectionInfo;
        }

        @CustomType.Setter
        public Builder sourceConnectionInfo(PostgreSqlConnectionInfoResponse sourceConnectionInfo) {
            if (sourceConnectionInfo == null) {
              throw new MissingRequiredPropertyException("ConnectToSourcePostgreSqlSyncTaskInputResponse", "sourceConnectionInfo");
            }
            this.sourceConnectionInfo = sourceConnectionInfo;
            return this;
        }
        public ConnectToSourcePostgreSqlSyncTaskInputResponse build() {
            final var _resultValue = new ConnectToSourcePostgreSqlSyncTaskInputResponse();
            _resultValue.sourceConnectionInfo = sourceConnectionInfo;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy