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

com.pulumi.googlenative.retail.v2.outputs.GoogleCloudRetailV2RuleDoNotAssociateActionResponse 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.googlenative.retail.v2.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GoogleCloudRetailV2RuleDoNotAssociateActionResponse {
    /**
     * @return Cannot contain duplicates or the query term. Can specify up to 100 terms.
     * 
     */
    private List doNotAssociateTerms;
    /**
     * @return Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
     * 
     */
    private List queryTerms;
    /**
     * @return Will be [deprecated = true] post migration;
     * 
     */
    private List terms;

    private GoogleCloudRetailV2RuleDoNotAssociateActionResponse() {}
    /**
     * @return Cannot contain duplicates or the query term. Can specify up to 100 terms.
     * 
     */
    public List doNotAssociateTerms() {
        return this.doNotAssociateTerms;
    }
    /**
     * @return Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
     * 
     */
    public List queryTerms() {
        return this.queryTerms;
    }
    /**
     * @return Will be [deprecated = true] post migration;
     * 
     */
    public List terms() {
        return this.terms;
    }

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

    public static Builder builder(GoogleCloudRetailV2RuleDoNotAssociateActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List doNotAssociateTerms;
        private List queryTerms;
        private List terms;
        public Builder() {}
        public Builder(GoogleCloudRetailV2RuleDoNotAssociateActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.doNotAssociateTerms = defaults.doNotAssociateTerms;
    	      this.queryTerms = defaults.queryTerms;
    	      this.terms = defaults.terms;
        }

        @CustomType.Setter
        public Builder doNotAssociateTerms(List doNotAssociateTerms) {
            this.doNotAssociateTerms = Objects.requireNonNull(doNotAssociateTerms);
            return this;
        }
        public Builder doNotAssociateTerms(String... doNotAssociateTerms) {
            return doNotAssociateTerms(List.of(doNotAssociateTerms));
        }
        @CustomType.Setter
        public Builder queryTerms(List queryTerms) {
            this.queryTerms = Objects.requireNonNull(queryTerms);
            return this;
        }
        public Builder queryTerms(String... queryTerms) {
            return queryTerms(List.of(queryTerms));
        }
        @CustomType.Setter
        public Builder terms(List terms) {
            this.terms = Objects.requireNonNull(terms);
            return this;
        }
        public Builder terms(String... terms) {
            return terms(List.of(terms));
        }
        public GoogleCloudRetailV2RuleDoNotAssociateActionResponse build() {
            final var o = new GoogleCloudRetailV2RuleDoNotAssociateActionResponse();
            o.doNotAssociateTerms = doNotAssociateTerms;
            o.queryTerms = queryTerms;
            o.terms = terms;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy