All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.documentdb.outputs.UniqueKeyResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.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 UniqueKeyResponse {
    /**
     * @return List of paths must be unique for each document in the Azure Cosmos DB service
     * 
     */
    private @Nullable List paths;

    private UniqueKeyResponse() {}
    /**
     * @return List of paths must be unique for each document in the Azure Cosmos DB service
     * 
     */
    public List paths() {
        return this.paths == null ? List.of() : this.paths;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(UniqueKeyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List paths;
        public Builder() {}
        public Builder(UniqueKeyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.paths = defaults.paths;
        }

        @CustomType.Setter
        public Builder paths(@Nullable List paths) {

            this.paths = paths;
            return this;
        }
        public Builder paths(String... paths) {
            return paths(List.of(paths));
        }
        public UniqueKeyResponse build() {
            final var _resultValue = new UniqueKeyResponse();
            _resultValue.paths = paths;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy