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

com.pulumi.aws.networkmanager.inputs.ConnectPeerConfigurationBgpConfigurationArgs Maven / Gradle / Ivy

// *** 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.aws.networkmanager.inputs;

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


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

    public static final ConnectPeerConfigurationBgpConfigurationArgs Empty = new ConnectPeerConfigurationBgpConfigurationArgs();

    /**
     * A Connect peer core network address.
     * 
     */
    @Import(name="coreNetworkAddress")
    private @Nullable Output coreNetworkAddress;

    /**
     * @return A Connect peer core network address.
     * 
     */
    public Optional> coreNetworkAddress() {
        return Optional.ofNullable(this.coreNetworkAddress);
    }

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

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

    /**
     * The Connect peer address.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="peerAddress")
    private @Nullable Output peerAddress;

    /**
     * @return The Connect peer address.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> peerAddress() {
        return Optional.ofNullable(this.peerAddress);
    }

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

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

    private ConnectPeerConfigurationBgpConfigurationArgs() {}

    private ConnectPeerConfigurationBgpConfigurationArgs(ConnectPeerConfigurationBgpConfigurationArgs $) {
        this.coreNetworkAddress = $.coreNetworkAddress;
        this.coreNetworkAsn = $.coreNetworkAsn;
        this.peerAddress = $.peerAddress;
        this.peerAsn = $.peerAsn;
    }

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

    public static final class Builder {
        private ConnectPeerConfigurationBgpConfigurationArgs $;

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

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

        /**
         * @param coreNetworkAddress A Connect peer core network address.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkAddress(@Nullable Output coreNetworkAddress) {
            $.coreNetworkAddress = coreNetworkAddress;
            return this;
        }

        /**
         * @param coreNetworkAddress A Connect peer core network address.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkAddress(String coreNetworkAddress) {
            return coreNetworkAddress(Output.of(coreNetworkAddress));
        }

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

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

        /**
         * @param peerAddress The Connect peer address.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder peerAddress(@Nullable Output peerAddress) {
            $.peerAddress = peerAddress;
            return this;
        }

        /**
         * @param peerAddress The Connect peer address.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder peerAddress(String peerAddress) {
            return peerAddress(Output.of(peerAddress));
        }

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

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

        public ConnectPeerConfigurationBgpConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy