com.pulumi.azurenative.datamigration.inputs.ConnectToTargetSqlDbTaskInputArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.inputs;
import com.pulumi.azurenative.datamigration.inputs.SqlConnectionInfoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* Input for the task that validates connection to SQL DB and target server requirements
*
*/
public final class ConnectToTargetSqlDbTaskInputArgs extends com.pulumi.resources.ResourceArgs {
public static final ConnectToTargetSqlDbTaskInputArgs Empty = new ConnectToTargetSqlDbTaskInputArgs();
/**
* Connection information for target SQL DB
*
*/
@Import(name="targetConnectionInfo", required=true)
private Output targetConnectionInfo;
/**
* @return Connection information for target SQL DB
*
*/
public Output targetConnectionInfo() {
return this.targetConnectionInfo;
}
private ConnectToTargetSqlDbTaskInputArgs() {}
private ConnectToTargetSqlDbTaskInputArgs(ConnectToTargetSqlDbTaskInputArgs $) {
this.targetConnectionInfo = $.targetConnectionInfo;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConnectToTargetSqlDbTaskInputArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ConnectToTargetSqlDbTaskInputArgs $;
public Builder() {
$ = new ConnectToTargetSqlDbTaskInputArgs();
}
public Builder(ConnectToTargetSqlDbTaskInputArgs defaults) {
$ = new ConnectToTargetSqlDbTaskInputArgs(Objects.requireNonNull(defaults));
}
/**
* @param targetConnectionInfo Connection information for target SQL DB
*
* @return builder
*
*/
public Builder targetConnectionInfo(Output targetConnectionInfo) {
$.targetConnectionInfo = targetConnectionInfo;
return this;
}
/**
* @param targetConnectionInfo Connection information for target SQL DB
*
* @return builder
*
*/
public Builder targetConnectionInfo(SqlConnectionInfoArgs targetConnectionInfo) {
return targetConnectionInfo(Output.of(targetConnectionInfo));
}
public ConnectToTargetSqlDbTaskInputArgs build() {
if ($.targetConnectionInfo == null) {
throw new MissingRequiredPropertyException("ConnectToTargetSqlDbTaskInputArgs", "targetConnectionInfo");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy