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