
com.pulumi.azurenative.datamigration.inputs.GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs Maven / Gradle / Ivy
// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs Empty = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs();
/**
* Name of the migration.
*
*/
@Import(name="migrationName", required=true)
private Output migrationName;
/**
* @return Name of the migration.
*
*/
public Output migrationName() {
return this.migrationName;
}
/**
* Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the target resource/account.
*
*/
@Import(name="targetResourceName", required=true)
private Output targetResourceName;
/**
* @return The name of the target resource/account.
*
*/
public Output targetResourceName() {
return this.targetResourceName;
}
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs() {}
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs $) {
this.migrationName = $.migrationName;
this.resourceGroupName = $.resourceGroupName;
this.targetResourceName = $.targetResourceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs $;
public Builder() {
$ = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs();
}
public Builder(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs defaults) {
$ = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs(Objects.requireNonNull(defaults));
}
/**
* @param migrationName Name of the migration.
*
* @return builder
*
*/
public Builder migrationName(Output migrationName) {
$.migrationName = migrationName;
return this;
}
/**
* @param migrationName Name of the migration.
*
* @return builder
*
*/
public Builder migrationName(String migrationName) {
return migrationName(Output.of(migrationName));
}
/**
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param targetResourceName The name of the target resource/account.
*
* @return builder
*
*/
public Builder targetResourceName(Output targetResourceName) {
$.targetResourceName = targetResourceName;
return this;
}
/**
* @param targetResourceName The name of the target resource/account.
*
* @return builder
*
*/
public Builder targetResourceName(String targetResourceName) {
return targetResourceName(Output.of(targetResourceName));
}
public GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs build() {
if ($.migrationName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs", "migrationName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs", "resourceGroupName");
}
if ($.targetResourceName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs", "targetResourceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy