com.pulumi.azure.cosmosdb.inputs.GetRestorableDatabaseAccountsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.cosmosdb.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 GetRestorableDatabaseAccountsArgs extends com.pulumi.resources.InvokeArgs {
public static final GetRestorableDatabaseAccountsArgs Empty = new GetRestorableDatabaseAccountsArgs();
/**
* The location where the Cosmos DB Database Account.
*
*/
@Import(name="location", required=true)
private Output location;
/**
* @return The location where the Cosmos DB Database Account.
*
*/
public Output location() {
return this.location;
}
/**
* The name of this Cosmos DB Database Account.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of this Cosmos DB Database Account.
*
*/
public Output name() {
return this.name;
}
private GetRestorableDatabaseAccountsArgs() {}
private GetRestorableDatabaseAccountsArgs(GetRestorableDatabaseAccountsArgs $) {
this.location = $.location;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRestorableDatabaseAccountsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetRestorableDatabaseAccountsArgs $;
public Builder() {
$ = new GetRestorableDatabaseAccountsArgs();
}
public Builder(GetRestorableDatabaseAccountsArgs defaults) {
$ = new GetRestorableDatabaseAccountsArgs(Objects.requireNonNull(defaults));
}
/**
* @param location The location where the Cosmos DB Database Account.
*
* @return builder
*
*/
public Builder location(Output location) {
$.location = location;
return this;
}
/**
* @param location The location where the Cosmos DB Database Account.
*
* @return builder
*
*/
public Builder location(String location) {
return location(Output.of(location));
}
/**
* @param name The name of this Cosmos DB Database Account.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of this Cosmos DB Database Account.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public GetRestorableDatabaseAccountsArgs build() {
if ($.location == null) {
throw new MissingRequiredPropertyException("GetRestorableDatabaseAccountsArgs", "location");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("GetRestorableDatabaseAccountsArgs", "name");
}
return $;
}
}
}