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

com.pulumi.azurenative.cloudngfw.outputs.CategoryResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.cloudngfw.outputs;

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

@CustomType
public final class CategoryResponse {
    /**
     * @return feed list
     * 
     */
    private List feeds;
    /**
     * @return custom URL
     * 
     */
    private List urlCustom;

    private CategoryResponse() {}
    /**
     * @return feed list
     * 
     */
    public List feeds() {
        return this.feeds;
    }
    /**
     * @return custom URL
     * 
     */
    public List urlCustom() {
        return this.urlCustom;
    }

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

    public static Builder builder(CategoryResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List feeds;
        private List urlCustom;
        public Builder() {}
        public Builder(CategoryResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.feeds = defaults.feeds;
    	      this.urlCustom = defaults.urlCustom;
        }

        @CustomType.Setter
        public Builder feeds(List feeds) {
            if (feeds == null) {
              throw new MissingRequiredPropertyException("CategoryResponse", "feeds");
            }
            this.feeds = feeds;
            return this;
        }
        public Builder feeds(String... feeds) {
            return feeds(List.of(feeds));
        }
        @CustomType.Setter
        public Builder urlCustom(List urlCustom) {
            if (urlCustom == null) {
              throw new MissingRequiredPropertyException("CategoryResponse", "urlCustom");
            }
            this.urlCustom = urlCustom;
            return this;
        }
        public Builder urlCustom(String... urlCustom) {
            return urlCustom(List.of(urlCustom));
        }
        public CategoryResponse build() {
            final var _resultValue = new CategoryResponse();
            _resultValue.feeds = feeds;
            _resultValue.urlCustom = urlCustom;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy