Class RouterBgpArgs.Builder

  • Enclosing class:
    RouterBgpArgs

    public static final class RouterBgpArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • advertiseMode

        public RouterBgpArgs.Builder advertiseMode​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> advertiseMode)
        Parameters:
        advertiseMode - User-specified flag to indicate which mode to use for advertisement. Default value is `DEFAULT`. Possible values are: `DEFAULT`, `CUSTOM`.
        Returns:
        builder
      • advertiseMode

        public RouterBgpArgs.Builder advertiseMode​(java.lang.String advertiseMode)
        Parameters:
        advertiseMode - User-specified flag to indicate which mode to use for advertisement. Default value is `DEFAULT`. Possible values are: `DEFAULT`, `CUSTOM`.
        Returns:
        builder
      • advertisedGroups

        public RouterBgpArgs.Builder advertisedGroups​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> advertisedGroups)
        Parameters:
        advertisedGroups - User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. This enum field has the one valid value: ALL_SUBNETS
        Returns:
        builder
      • advertisedGroups

        public RouterBgpArgs.Builder advertisedGroups​(java.util.List<java.lang.String> advertisedGroups)
        Parameters:
        advertisedGroups - User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. This enum field has the one valid value: ALL_SUBNETS
        Returns:
        builder
      • advertisedGroups

        public RouterBgpArgs.Builder advertisedGroups​(java.lang.String... advertisedGroups)
        Parameters:
        advertisedGroups - User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. This enum field has the one valid value: ALL_SUBNETS
        Returns:
        builder
      • advertisedIpRanges

        public RouterBgpArgs.Builder advertisedIpRanges​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<RouterBgpAdvertisedIpRangeArgs>> advertisedIpRanges)
        Parameters:
        advertisedIpRanges - User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. Structure is documented below.
        Returns:
        builder
      • advertisedIpRanges

        public RouterBgpArgs.Builder advertisedIpRanges​(java.util.List<RouterBgpAdvertisedIpRangeArgs> advertisedIpRanges)
        Parameters:
        advertisedIpRanges - User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. Structure is documented below.
        Returns:
        builder
      • advertisedIpRanges

        public RouterBgpArgs.Builder advertisedIpRanges​(RouterBgpAdvertisedIpRangeArgs... advertisedIpRanges)
        Parameters:
        advertisedIpRanges - User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. Structure is documented below.
        Returns:
        builder
      • asn

        public RouterBgpArgs.Builder asn​(com.pulumi.core.Output<java.lang.Integer> asn)
        Parameters:
        asn - Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
        Returns:
        builder
      • asn

        public RouterBgpArgs.Builder asn​(java.lang.Integer asn)
        Parameters:
        asn - Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
        Returns:
        builder
      • keepaliveInterval

        public RouterBgpArgs.Builder keepaliveInterval​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> keepaliveInterval)
        Parameters:
        keepaliveInterval - The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
        Returns:
        builder
      • keepaliveInterval

        public RouterBgpArgs.Builder keepaliveInterval​(java.lang.Integer keepaliveInterval)
        Parameters:
        keepaliveInterval - The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
        Returns:
        builder