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

com.pulumi.scm.inputs.ServiceConnectionBgpPeerArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
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.scm.inputs;

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


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

    public static final ServiceConnectionBgpPeerArgs Empty = new ServiceConnectionBgpPeerArgs();

    /**
     * The LocalIpAddress param.
     * 
     */
    @Import(name="localIpAddress")
    private @Nullable Output localIpAddress;

    /**
     * @return The LocalIpAddress param.
     * 
     */
    public Optional> localIpAddress() {
        return Optional.ofNullable(this.localIpAddress);
    }

    /**
     * The LocalIpv6Address param.
     * 
     */
    @Import(name="localIpv6Address")
    private @Nullable Output localIpv6Address;

    /**
     * @return The LocalIpv6Address param.
     * 
     */
    public Optional> localIpv6Address() {
        return Optional.ofNullable(this.localIpv6Address);
    }

    /**
     * The PeerIpAddress param.
     * 
     */
    @Import(name="peerIpAddress")
    private @Nullable Output peerIpAddress;

    /**
     * @return The PeerIpAddress param.
     * 
     */
    public Optional> peerIpAddress() {
        return Optional.ofNullable(this.peerIpAddress);
    }

    /**
     * The PeerIpv6Address param.
     * 
     */
    @Import(name="peerIpv6Address")
    private @Nullable Output peerIpv6Address;

    /**
     * @return The PeerIpv6Address param.
     * 
     */
    public Optional> peerIpv6Address() {
        return Optional.ofNullable(this.peerIpv6Address);
    }

    /**
     * The SameAsPrimary param.
     * 
     */
    @Import(name="sameAsPrimary")
    private @Nullable Output sameAsPrimary;

    /**
     * @return The SameAsPrimary param.
     * 
     */
    public Optional> sameAsPrimary() {
        return Optional.ofNullable(this.sameAsPrimary);
    }

    /**
     * The Secret param.
     * 
     */
    @Import(name="secret")
    private @Nullable Output secret;

    /**
     * @return The Secret param.
     * 
     */
    public Optional> secret() {
        return Optional.ofNullable(this.secret);
    }

    private ServiceConnectionBgpPeerArgs() {}

    private ServiceConnectionBgpPeerArgs(ServiceConnectionBgpPeerArgs $) {
        this.localIpAddress = $.localIpAddress;
        this.localIpv6Address = $.localIpv6Address;
        this.peerIpAddress = $.peerIpAddress;
        this.peerIpv6Address = $.peerIpv6Address;
        this.sameAsPrimary = $.sameAsPrimary;
        this.secret = $.secret;
    }

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

    public static final class Builder {
        private ServiceConnectionBgpPeerArgs $;

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

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

        /**
         * @param localIpAddress The LocalIpAddress param.
         * 
         * @return builder
         * 
         */
        public Builder localIpAddress(@Nullable Output localIpAddress) {
            $.localIpAddress = localIpAddress;
            return this;
        }

        /**
         * @param localIpAddress The LocalIpAddress param.
         * 
         * @return builder
         * 
         */
        public Builder localIpAddress(String localIpAddress) {
            return localIpAddress(Output.of(localIpAddress));
        }

        /**
         * @param localIpv6Address The LocalIpv6Address param.
         * 
         * @return builder
         * 
         */
        public Builder localIpv6Address(@Nullable Output localIpv6Address) {
            $.localIpv6Address = localIpv6Address;
            return this;
        }

        /**
         * @param localIpv6Address The LocalIpv6Address param.
         * 
         * @return builder
         * 
         */
        public Builder localIpv6Address(String localIpv6Address) {
            return localIpv6Address(Output.of(localIpv6Address));
        }

        /**
         * @param peerIpAddress The PeerIpAddress param.
         * 
         * @return builder
         * 
         */
        public Builder peerIpAddress(@Nullable Output peerIpAddress) {
            $.peerIpAddress = peerIpAddress;
            return this;
        }

        /**
         * @param peerIpAddress The PeerIpAddress param.
         * 
         * @return builder
         * 
         */
        public Builder peerIpAddress(String peerIpAddress) {
            return peerIpAddress(Output.of(peerIpAddress));
        }

        /**
         * @param peerIpv6Address The PeerIpv6Address param.
         * 
         * @return builder
         * 
         */
        public Builder peerIpv6Address(@Nullable Output peerIpv6Address) {
            $.peerIpv6Address = peerIpv6Address;
            return this;
        }

        /**
         * @param peerIpv6Address The PeerIpv6Address param.
         * 
         * @return builder
         * 
         */
        public Builder peerIpv6Address(String peerIpv6Address) {
            return peerIpv6Address(Output.of(peerIpv6Address));
        }

        /**
         * @param sameAsPrimary The SameAsPrimary param.
         * 
         * @return builder
         * 
         */
        public Builder sameAsPrimary(@Nullable Output sameAsPrimary) {
            $.sameAsPrimary = sameAsPrimary;
            return this;
        }

        /**
         * @param sameAsPrimary The SameAsPrimary param.
         * 
         * @return builder
         * 
         */
        public Builder sameAsPrimary(Boolean sameAsPrimary) {
            return sameAsPrimary(Output.of(sameAsPrimary));
        }

        /**
         * @param secret The Secret param.
         * 
         * @return builder
         * 
         */
        public Builder secret(@Nullable Output secret) {
            $.secret = secret;
            return this;
        }

        /**
         * @param secret The Secret param.
         * 
         * @return builder
         * 
         */
        public Builder secret(String secret) {
            return secret(Output.of(secret));
        }

        public ServiceConnectionBgpPeerArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy