Interface RouteServerPeer.Builder

    • Method Detail

      • routeServerPeerId

        RouteServerPeer.Builder routeServerPeerId​(String routeServerPeerId)

        The unique identifier of the route server peer.

        Parameters:
        routeServerPeerId - The unique identifier of the route server peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeServerEndpointId

        RouteServerPeer.Builder routeServerEndpointId​(String routeServerEndpointId)

        The ID of the route server endpoint associated with this peer.

        Parameters:
        routeServerEndpointId - The ID of the route server endpoint associated with this peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeServerId

        RouteServerPeer.Builder routeServerId​(String routeServerId)

        The ID of the route server associated with this peer.

        Parameters:
        routeServerId - The ID of the route server associated with this peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        RouteServerPeer.Builder vpcId​(String vpcId)

        The ID of the VPC containing the route server peer.

        Parameters:
        vpcId - The ID of the VPC containing the route server peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        RouteServerPeer.Builder subnetId​(String subnetId)

        The ID of the subnet containing the route server peer.

        Parameters:
        subnetId - The ID of the subnet containing the route server peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        RouteServerPeer.Builder failureReason​(String failureReason)

        The reason for any failure in peer creation or operation.

        Parameters:
        failureReason - The reason for any failure in peer creation or operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointEniId

        RouteServerPeer.Builder endpointEniId​(String endpointEniId)

        The ID of the Elastic network interface for the route server endpoint.

        Parameters:
        endpointEniId - The ID of the Elastic network interface for the route server endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointEniAddress

        RouteServerPeer.Builder endpointEniAddress​(String endpointEniAddress)

        The IP address of the Elastic network interface for the route server endpoint.

        Parameters:
        endpointEniAddress - The IP address of the Elastic network interface for the route server endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • peerAddress

        RouteServerPeer.Builder peerAddress​(String peerAddress)

        The IPv4 address of the peer device.

        Parameters:
        peerAddress - The IPv4 address of the peer device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bgpOptions

        RouteServerPeer.Builder bgpOptions​(RouteServerBgpOptions bgpOptions)

        The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.

        Parameters:
        bgpOptions - The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bgpStatus

        RouteServerPeer.Builder bgpStatus​(RouteServerBgpStatus bgpStatus)

        The current status of the BGP session with this peer.

        Parameters:
        bgpStatus - The current status of the BGP session with this peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bfdStatus

        RouteServerPeer.Builder bfdStatus​(RouteServerBfdStatus bfdStatus)

        The current status of the BFD session with this peer.

        Parameters:
        bfdStatus - The current status of the BFD session with this peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RouteServerPeer.Builder tags​(Collection<Tag> tags)

        Any tags assigned to the route server peer.

        Parameters:
        tags - Any tags assigned to the route server peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RouteServerPeer.Builder tags​(Tag... tags)

        Any tags assigned to the route server peer.

        Parameters:
        tags - Any tags assigned to the route server peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RouteServerPeer.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the route server peer.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)