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

com.pulumi.alicloud.vpc.inputs.BgpNetworkState 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.vpc.inputs;

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


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

    public static final BgpNetworkState Empty = new BgpNetworkState();

    /**
     * The CIDR block of the virtual private cloud (VPC) or vSwitch that you want to connect to a data center.
     * 
     */
    @Import(name="dstCidrBlock")
    private @Nullable Output dstCidrBlock;

    /**
     * @return The CIDR block of the virtual private cloud (VPC) or vSwitch that you want to connect to a data center.
     * 
     */
    public Optional> dstCidrBlock() {
        return Optional.ofNullable(this.dstCidrBlock);
    }

    /**
     * The ID of the vRouter associated with the router interface.
     * 
     */
    @Import(name="routerId")
    private @Nullable Output routerId;

    /**
     * @return The ID of the vRouter associated with the router interface.
     * 
     */
    public Optional> routerId() {
        return Optional.ofNullable(this.routerId);
    }

    /**
     * The state of the advertised BGP network.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The state of the advertised BGP network.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private BgpNetworkState() {}

    private BgpNetworkState(BgpNetworkState $) {
        this.dstCidrBlock = $.dstCidrBlock;
        this.routerId = $.routerId;
        this.status = $.status;
    }

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

    public static final class Builder {
        private BgpNetworkState $;

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

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

        /**
         * @param dstCidrBlock The CIDR block of the virtual private cloud (VPC) or vSwitch that you want to connect to a data center.
         * 
         * @return builder
         * 
         */
        public Builder dstCidrBlock(@Nullable Output dstCidrBlock) {
            $.dstCidrBlock = dstCidrBlock;
            return this;
        }

        /**
         * @param dstCidrBlock The CIDR block of the virtual private cloud (VPC) or vSwitch that you want to connect to a data center.
         * 
         * @return builder
         * 
         */
        public Builder dstCidrBlock(String dstCidrBlock) {
            return dstCidrBlock(Output.of(dstCidrBlock));
        }

        /**
         * @param routerId The ID of the vRouter associated with the router interface.
         * 
         * @return builder
         * 
         */
        public Builder routerId(@Nullable Output routerId) {
            $.routerId = routerId;
            return this;
        }

        /**
         * @param routerId The ID of the vRouter associated with the router interface.
         * 
         * @return builder
         * 
         */
        public Builder routerId(String routerId) {
            return routerId(Output.of(routerId));
        }

        /**
         * @param status The state of the advertised BGP network.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The state of the advertised BGP network.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public BgpNetworkState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy