// *** 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.gcp.essentialcontacts.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.essentialcontacts.outputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition;
import java.util.List;
import java.util.Objects;

@CustomType
public final class DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions {
    /**
     * @return Defines the metadata for a schema property.
     * Structure is documented below.
     * 
     */
    private List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition> propertyDefinitions;

    private DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions() {}
    /**
     * @return Defines the metadata for a schema property.
     * Structure is documented below.
     * 
     */
    public List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition> propertyDefinitions() {
        return this.propertyDefinitions;
    }

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

    public static Builder builder(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition> propertyDefinitions;
        public Builder() {}
        public Builder(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.propertyDefinitions = defaults.propertyDefinitions;
        }

        @CustomType.Setter
        public Builder propertyDefinitions(List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition> propertyDefinitions) {
            this.propertyDefinitions = Objects.requireNonNull(propertyDefinitions);
            return this;
        }
        public Builder propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition... propertyDefinitions) {
            return propertyDefinitions(List.of(propertyDefinitions));
        }
        public DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions build() {
            final var o = new DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions();
            o.propertyDefinitions = propertyDefinitions;
            return o;
        }
    }
}
