
com.pulumi.azurenative.datamigration.inputs.GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs 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 GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs Empty = new GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs();
/**
* 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 GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs() {}
private GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs(GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs $) {
this.migrationName = $.migrationName;
this.resourceGroupName = $.resourceGroupName;
this.targetResourceName = $.targetResourceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs $;
public Builder() {
$ = new GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs();
}
public Builder(GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs defaults) {
$ = new GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs(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 GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs build() {
if ($.migrationName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs", "migrationName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs", "resourceGroupName");
}
if ($.targetResourceName == null) {
throw new MissingRequiredPropertyException("GetDatabaseMigrationsMongoToCosmosDbRUMongoPlainArgs", "targetResourceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy