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

com.pulumi.aws.networkmanager.outputs.ConnectPeerConfigurationBgpConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.networkmanager.outputs;

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

@CustomType
public final class ConnectPeerConfigurationBgpConfiguration {
    /**
     * @return A Connect peer core network address.
     * 
     */
    private @Nullable String coreNetworkAddress;
    private @Nullable Integer coreNetworkAsn;
    /**
     * @return The Connect peer address.
     * 
     * The following arguments are optional:
     * 
     */
    private @Nullable String peerAddress;
    private @Nullable Integer peerAsn;

    private ConnectPeerConfigurationBgpConfiguration() {}
    /**
     * @return A Connect peer core network address.
     * 
     */
    public Optional coreNetworkAddress() {
        return Optional.ofNullable(this.coreNetworkAddress);
    }
    public Optional coreNetworkAsn() {
        return Optional.ofNullable(this.coreNetworkAsn);
    }
    /**
     * @return The Connect peer address.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional peerAddress() {
        return Optional.ofNullable(this.peerAddress);
    }
    public Optional peerAsn() {
        return Optional.ofNullable(this.peerAsn);
    }

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

    public static Builder builder(ConnectPeerConfigurationBgpConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String coreNetworkAddress;
        private @Nullable Integer coreNetworkAsn;
        private @Nullable String peerAddress;
        private @Nullable Integer peerAsn;
        public Builder() {}
        public Builder(ConnectPeerConfigurationBgpConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.coreNetworkAddress = defaults.coreNetworkAddress;
    	      this.coreNetworkAsn = defaults.coreNetworkAsn;
    	      this.peerAddress = defaults.peerAddress;
    	      this.peerAsn = defaults.peerAsn;
        }

        @CustomType.Setter
        public Builder coreNetworkAddress(@Nullable String coreNetworkAddress) {

            this.coreNetworkAddress = coreNetworkAddress;
            return this;
        }
        @CustomType.Setter
        public Builder coreNetworkAsn(@Nullable Integer coreNetworkAsn) {

            this.coreNetworkAsn = coreNetworkAsn;
            return this;
        }
        @CustomType.Setter
        public Builder peerAddress(@Nullable String peerAddress) {

            this.peerAddress = peerAddress;
            return this;
        }
        @CustomType.Setter
        public Builder peerAsn(@Nullable Integer peerAsn) {

            this.peerAsn = peerAsn;
            return this;
        }
        public ConnectPeerConfigurationBgpConfiguration build() {
            final var _resultValue = new ConnectPeerConfigurationBgpConfiguration();
            _resultValue.coreNetworkAddress = coreNetworkAddress;
            _resultValue.coreNetworkAsn = coreNetworkAsn;
            _resultValue.peerAddress = peerAddress;
            _resultValue.peerAsn = peerAsn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy