Class NewBGPPeer

    • Method Detail

      • asn

        public final Integer asn()

        The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

        Returns:
        The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
      • authKey

        public final String authKey()

        The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

        Returns:
        The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
      • amazonAddress

        public final String amazonAddress()

        The IP address assigned to the Amazon interface.

        Returns:
        The IP address assigned to the Amazon interface.
      • customerAddress

        public final String customerAddress()

        The IP address assigned to the customer interface.

        Returns:
        The IP address assigned to the customer interface.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)