
com.pulumi.azurenative.cloudngfw.inputs.CategoryArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
/**
* URL/EDL to match
*
*/
public final class CategoryArgs extends com.pulumi.resources.ResourceArgs {
public static final CategoryArgs Empty = new CategoryArgs();
/**
* feed list
*
*/
@Import(name="feeds", required=true)
private Output> feeds;
/**
* @return feed list
*
*/
public Output> feeds() {
return this.feeds;
}
/**
* custom URL
*
*/
@Import(name="urlCustom", required=true)
private Output> urlCustom;
/**
* @return custom URL
*
*/
public Output> urlCustom() {
return this.urlCustom;
}
private CategoryArgs() {}
private CategoryArgs(CategoryArgs $) {
this.feeds = $.feeds;
this.urlCustom = $.urlCustom;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CategoryArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CategoryArgs $;
public Builder() {
$ = new CategoryArgs();
}
public Builder(CategoryArgs defaults) {
$ = new CategoryArgs(Objects.requireNonNull(defaults));
}
/**
* @param feeds feed list
*
* @return builder
*
*/
public Builder feeds(Output> feeds) {
$.feeds = feeds;
return this;
}
/**
* @param feeds feed list
*
* @return builder
*
*/
public Builder feeds(List feeds) {
return feeds(Output.of(feeds));
}
/**
* @param feeds feed list
*
* @return builder
*
*/
public Builder feeds(String... feeds) {
return feeds(List.of(feeds));
}
/**
* @param urlCustom custom URL
*
* @return builder
*
*/
public Builder urlCustom(Output> urlCustom) {
$.urlCustom = urlCustom;
return this;
}
/**
* @param urlCustom custom URL
*
* @return builder
*
*/
public Builder urlCustom(List urlCustom) {
return urlCustom(Output.of(urlCustom));
}
/**
* @param urlCustom custom URL
*
* @return builder
*
*/
public Builder urlCustom(String... urlCustom) {
return urlCustom(List.of(urlCustom));
}
public CategoryArgs build() {
if ($.feeds == null) {
throw new MissingRequiredPropertyException("CategoryArgs", "feeds");
}
if ($.urlCustom == null) {
throw new MissingRequiredPropertyException("CategoryArgs", "urlCustom");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy