
com.pulumi.azurenative.datamigration.inputs.GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs Empty = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs();
/**
* Name of the migration.
*
*/
@Import(name="migrationName", required=true)
private String migrationName;
/**
* @return Name of the migration.
*
*/
public String 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 String 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 String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the target resource/account.
*
*/
@Import(name="targetResourceName", required=true)
private String targetResourceName;
/**
* @return The name of the target resource/account.
*
*/
public String targetResourceName() {
return this.targetResourceName;
}
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs() {}
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs $) {
this.migrationName = $.migrationName;
this.resourceGroupName = $.resourceGroupName;
this.targetResourceName = $.targetResourceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs $;
public Builder() {
$ = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs();
}
public Builder(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs defaults) {
$ = new GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param migrationName Name of the migration.
*
* @return builder
*
*/
public Builder migrationName(String migrationName) {
$.migrationName = migrationName;
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) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param targetResourceName The name of the target resource/account.
*
* @return builder
*
*/
public Builder targetResourceName(String targetResourceName) {
$.targetResourceName = targetResourceName;
return this;
}
public GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs build() {
if ($.migrationName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs", "migrationName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs", "resourceGroupName");
}
if ($.targetResourceName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbvCoreMongoPlainArgs", "targetResourceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy