
com.pulumi.azurenative.documentdb.outputs.MongoIndexKeysResponse 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.documentdb.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class MongoIndexKeysResponse {
/**
* @return List of keys for each MongoDB collection in the Azure Cosmos DB service
*
*/
private @Nullable List keys;
private MongoIndexKeysResponse() {}
/**
* @return List of keys for each MongoDB collection in the Azure Cosmos DB service
*
*/
public List keys() {
return this.keys == null ? List.of() : this.keys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MongoIndexKeysResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List keys;
public Builder() {}
public Builder(MongoIndexKeysResponse defaults) {
Objects.requireNonNull(defaults);
this.keys = defaults.keys;
}
@CustomType.Setter
public Builder keys(@Nullable List keys) {
this.keys = keys;
return this;
}
public Builder keys(String... keys) {
return keys(List.of(keys));
}
public MongoIndexKeysResponse build() {
final var _resultValue = new MongoIndexKeysResponse();
_resultValue.keys = keys;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy