com.pulumi.azurenative.documentdb.inputs.SqlDatabaseResourceArgs 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.documentdb.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;
/**
* Cosmos DB SQL database resource object
*
*/
public final class SqlDatabaseResourceArgs extends com.pulumi.resources.ResourceArgs {
public static final SqlDatabaseResourceArgs Empty = new SqlDatabaseResourceArgs();
/**
* Name of the Cosmos DB SQL database
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return Name of the Cosmos DB SQL database
*
*/
public Output id() {
return this.id;
}
private SqlDatabaseResourceArgs() {}
private SqlDatabaseResourceArgs(SqlDatabaseResourceArgs $) {
this.id = $.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlDatabaseResourceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SqlDatabaseResourceArgs $;
public Builder() {
$ = new SqlDatabaseResourceArgs();
}
public Builder(SqlDatabaseResourceArgs defaults) {
$ = new SqlDatabaseResourceArgs(Objects.requireNonNull(defaults));
}
/**
* @param id Name of the Cosmos DB SQL database
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id Name of the Cosmos DB SQL database
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
public SqlDatabaseResourceArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("SqlDatabaseResourceArgs", "id");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy