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

com.pulumi.alicloud.cloudfirewall.inputs.GetVpcFirewallCensArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.cloudfirewall.inputs;

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


public final class GetVpcFirewallCensArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpcFirewallCensArgs Empty = new GetVpcFirewallCensArgs();

    /**
     * The ID of the CEN instance.
     * 
     */
    @Import(name="cenId")
    private @Nullable Output cenId;

    /**
     * @return The ID of the CEN instance.
     * 
     */
    public Optional> cenId() {
        return Optional.ofNullable(this.cenId);
    }

    /**
     * A list of Vpc Firewall Cen IDs.
     * 
     */
    @Import(name="ids")
    private @Nullable Output> ids;

    /**
     * @return A list of Vpc Firewall Cen IDs.
     * 
     */
    public Optional>> ids() {
        return Optional.ofNullable(this.ids);
    }

    /**
     * The language type of the requested and received messages. Value:-**zh** (default): Chinese.-**en**: English.
     * 
     */
    @Import(name="lang")
    private @Nullable Output lang;

    /**
     * @return The language type of the requested and received messages. Value:-**zh** (default): Chinese.-**en**: English.
     * 
     */
    public Optional> lang() {
        return Optional.ofNullable(this.lang);
    }

    /**
     * The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.
     * 
     */
    @Import(name="memberUid")
    private @Nullable Output memberUid;

    /**
     * @return The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.
     * 
     */
    public Optional> memberUid() {
        return Optional.ofNullable(this.memberUid);
    }

    /**
     * The ID of the VPC instance that created the VPC firewall.
     * 
     */
    @Import(name="networkInstanceId")
    private @Nullable Output networkInstanceId;

    /**
     * @return The ID of the VPC instance that created the VPC firewall.
     * 
     */
    public Optional> networkInstanceId() {
        return Optional.ofNullable(this.networkInstanceId);
    }

    /**
     * File name where to save data source results (after running `pulumi preview`).
     * 
     */
    @Import(name="outputFile")
    private @Nullable Output outputFile;

    /**
     * @return File name where to save data source results (after running `pulumi preview`).
     * 
     */
    public Optional> outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    @Import(name="pageNumber")
    private @Nullable Output pageNumber;

    public Optional> pageNumber() {
        return Optional.ofNullable(this.pageNumber);
    }

    @Import(name="pageSize")
    private @Nullable Output pageSize;

    public Optional> pageSize() {
        return Optional.ofNullable(this.pageSize);
    }

    /**
     * Firewall switch status
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Firewall switch status
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * VPC firewall ID
     * 
     */
    @Import(name="vpcFirewallId")
    private @Nullable Output vpcFirewallId;

    /**
     * @return VPC firewall ID
     * 
     */
    public Optional> vpcFirewallId() {
        return Optional.ofNullable(this.vpcFirewallId);
    }

    /**
     * The name of the VPC firewall instance.
     * 
     */
    @Import(name="vpcFirewallName")
    private @Nullable Output vpcFirewallName;

    /**
     * @return The name of the VPC firewall instance.
     * 
     */
    public Optional> vpcFirewallName() {
        return Optional.ofNullable(this.vpcFirewallName);
    }

    private GetVpcFirewallCensArgs() {}

    private GetVpcFirewallCensArgs(GetVpcFirewallCensArgs $) {
        this.cenId = $.cenId;
        this.ids = $.ids;
        this.lang = $.lang;
        this.memberUid = $.memberUid;
        this.networkInstanceId = $.networkInstanceId;
        this.outputFile = $.outputFile;
        this.pageNumber = $.pageNumber;
        this.pageSize = $.pageSize;
        this.status = $.status;
        this.vpcFirewallId = $.vpcFirewallId;
        this.vpcFirewallName = $.vpcFirewallName;
    }

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

    public static final class Builder {
        private GetVpcFirewallCensArgs $;

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

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

        /**
         * @param cenId The ID of the CEN instance.
         * 
         * @return builder
         * 
         */
        public Builder cenId(@Nullable Output cenId) {
            $.cenId = cenId;
            return this;
        }

        /**
         * @param cenId The ID of the CEN instance.
         * 
         * @return builder
         * 
         */
        public Builder cenId(String cenId) {
            return cenId(Output.of(cenId));
        }

        /**
         * @param ids A list of Vpc Firewall Cen IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(@Nullable Output> ids) {
            $.ids = ids;
            return this;
        }

        /**
         * @param ids A list of Vpc Firewall Cen IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(List ids) {
            return ids(Output.of(ids));
        }

        /**
         * @param ids A list of Vpc Firewall Cen IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }

        /**
         * @param lang The language type of the requested and received messages. Value:-**zh** (default): Chinese.-**en**: English.
         * 
         * @return builder
         * 
         */
        public Builder lang(@Nullable Output lang) {
            $.lang = lang;
            return this;
        }

        /**
         * @param lang The language type of the requested and received messages. Value:-**zh** (default): Chinese.-**en**: English.
         * 
         * @return builder
         * 
         */
        public Builder lang(String lang) {
            return lang(Output.of(lang));
        }

        /**
         * @param memberUid The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.
         * 
         * @return builder
         * 
         */
        public Builder memberUid(@Nullable Output memberUid) {
            $.memberUid = memberUid;
            return this;
        }

        /**
         * @param memberUid The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.
         * 
         * @return builder
         * 
         */
        public Builder memberUid(String memberUid) {
            return memberUid(Output.of(memberUid));
        }

        /**
         * @param networkInstanceId The ID of the VPC instance that created the VPC firewall.
         * 
         * @return builder
         * 
         */
        public Builder networkInstanceId(@Nullable Output networkInstanceId) {
            $.networkInstanceId = networkInstanceId;
            return this;
        }

        /**
         * @param networkInstanceId The ID of the VPC instance that created the VPC firewall.
         * 
         * @return builder
         * 
         */
        public Builder networkInstanceId(String networkInstanceId) {
            return networkInstanceId(Output.of(networkInstanceId));
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable Output outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(String outputFile) {
            return outputFile(Output.of(outputFile));
        }

        public Builder pageNumber(@Nullable Output pageNumber) {
            $.pageNumber = pageNumber;
            return this;
        }

        public Builder pageNumber(Integer pageNumber) {
            return pageNumber(Output.of(pageNumber));
        }

        public Builder pageSize(@Nullable Output pageSize) {
            $.pageSize = pageSize;
            return this;
        }

        public Builder pageSize(Integer pageSize) {
            return pageSize(Output.of(pageSize));
        }

        /**
         * @param status Firewall switch status
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Firewall switch status
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param vpcFirewallId VPC firewall ID
         * 
         * @return builder
         * 
         */
        public Builder vpcFirewallId(@Nullable Output vpcFirewallId) {
            $.vpcFirewallId = vpcFirewallId;
            return this;
        }

        /**
         * @param vpcFirewallId VPC firewall ID
         * 
         * @return builder
         * 
         */
        public Builder vpcFirewallId(String vpcFirewallId) {
            return vpcFirewallId(Output.of(vpcFirewallId));
        }

        /**
         * @param vpcFirewallName The name of the VPC firewall instance.
         * 
         * @return builder
         * 
         */
        public Builder vpcFirewallName(@Nullable Output vpcFirewallName) {
            $.vpcFirewallName = vpcFirewallName;
            return this;
        }

        /**
         * @param vpcFirewallName The name of the VPC firewall instance.
         * 
         * @return builder
         * 
         */
        public Builder vpcFirewallName(String vpcFirewallName) {
            return vpcFirewallName(Output.of(vpcFirewallName));
        }

        public GetVpcFirewallCensArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy