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

com.pulumi.azure.paloalto.inputs.LocalRulestackPrefixListState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.paloalto.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class LocalRulestackPrefixListState extends com.pulumi.resources.ResourceArgs {

    public static final LocalRulestackPrefixListState Empty = new LocalRulestackPrefixListState();

    /**
     * The comment for Audit purposes.
     * 
     */
    @Import(name="auditComment")
    private @Nullable Output auditComment;

    /**
     * @return The comment for Audit purposes.
     * 
     */
    public Optional> auditComment() {
        return Optional.ofNullable(this.auditComment);
    }

    /**
     * The description for the Prefix List.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description for the Prefix List.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name which should be used for this Palo Alto Local Rulestack Prefix List.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Palo Alto Local Rulestack Prefix List.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies a list of Prefixes.
     * 
     */
    @Import(name="prefixLists")
    private @Nullable Output> prefixLists;

    /**
     * @return Specifies a list of Prefixes.
     * 
     */
    public Optional>> prefixLists() {
        return Optional.ofNullable(this.prefixLists);
    }

    /**
     * The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.
     * 
     */
    @Import(name="rulestackId")
    private @Nullable Output rulestackId;

    /**
     * @return The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.
     * 
     */
    public Optional> rulestackId() {
        return Optional.ofNullable(this.rulestackId);
    }

    private LocalRulestackPrefixListState() {}

    private LocalRulestackPrefixListState(LocalRulestackPrefixListState $) {
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.name = $.name;
        this.prefixLists = $.prefixLists;
        this.rulestackId = $.rulestackId;
    }

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

    public static final class Builder {
        private LocalRulestackPrefixListState $;

        public Builder() {
            $ = new LocalRulestackPrefixListState();
        }

        public Builder(LocalRulestackPrefixListState defaults) {
            $ = new LocalRulestackPrefixListState(Objects.requireNonNull(defaults));
        }

        /**
         * @param auditComment The comment for Audit purposes.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(@Nullable Output auditComment) {
            $.auditComment = auditComment;
            return this;
        }

        /**
         * @param auditComment The comment for Audit purposes.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(String auditComment) {
            return auditComment(Output.of(auditComment));
        }

        /**
         * @param description The description for the Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description for the Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The name which should be used for this Palo Alto Local Rulestack Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Palo Alto Local Rulestack Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param prefixLists Specifies a list of Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder prefixLists(@Nullable Output> prefixLists) {
            $.prefixLists = prefixLists;
            return this;
        }

        /**
         * @param prefixLists Specifies a list of Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder prefixLists(List prefixLists) {
            return prefixLists(Output.of(prefixLists));
        }

        /**
         * @param prefixLists Specifies a list of Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder prefixLists(String... prefixLists) {
            return prefixLists(List.of(prefixLists));
        }

        /**
         * @param rulestackId The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.
         * 
         * @return builder
         * 
         */
        public Builder rulestackId(@Nullable Output rulestackId) {
            $.rulestackId = rulestackId;
            return this;
        }

        /**
         * @param rulestackId The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.
         * 
         * @return builder
         * 
         */
        public Builder rulestackId(String rulestackId) {
            return rulestackId(Output.of(rulestackId));
        }

        public LocalRulestackPrefixListState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy