Interface NetworkInsightsPath.Builder

    • Method Detail

      • networkInsightsPathId

        NetworkInsightsPath.Builder networkInsightsPathId​(String networkInsightsPathId)

        The ID of the path.

        Parameters:
        networkInsightsPathId - The ID of the path.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInsightsPathArn

        NetworkInsightsPath.Builder networkInsightsPathArn​(String networkInsightsPathArn)

        The Amazon Resource Name (ARN) of the path.

        Parameters:
        networkInsightsPathArn - The Amazon Resource Name (ARN) of the path.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        NetworkInsightsPath.Builder createdDate​(Instant createdDate)

        The time stamp when the path was created.

        Parameters:
        createdDate - The time stamp when the path was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        NetworkInsightsPath.Builder source​(String source)

        The ID of the source.

        Parameters:
        source - The ID of the source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destination

        NetworkInsightsPath.Builder destination​(String destination)

        The ID of the destination.

        Parameters:
        destination - The ID of the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceArn

        NetworkInsightsPath.Builder sourceArn​(String sourceArn)

        The Amazon Resource Name (ARN) of the source.

        Parameters:
        sourceArn - The Amazon Resource Name (ARN) of the source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationArn

        NetworkInsightsPath.Builder destinationArn​(String destinationArn)

        The Amazon Resource Name (ARN) of the destination.

        Parameters:
        destinationArn - The Amazon Resource Name (ARN) of the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceIp

        NetworkInsightsPath.Builder sourceIp​(String sourceIp)

        The IP address of the source.

        Parameters:
        sourceIp - The IP address of the source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationIp

        NetworkInsightsPath.Builder destinationIp​(String destinationIp)

        The IP address of the destination.

        Parameters:
        destinationIp - The IP address of the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPort

        NetworkInsightsPath.Builder destinationPort​(Integer destinationPort)

        The destination port.

        Parameters:
        destinationPort - The destination port.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags associated with the path.

        Parameters:
        tags - The tags associated with the path.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        NetworkInsightsPath.Builder tags​(Tag... tags)

        The tags associated with the path.

        Parameters:
        tags - The tags associated with the path.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags associated with the path.

        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)
      • filterAtSource

        NetworkInsightsPath.Builder filterAtSource​(PathFilter filterAtSource)

        Scopes the analysis to network paths that match specific filters at the source.

        Parameters:
        filterAtSource - Scopes the analysis to network paths that match specific filters at the source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterAtDestination

        NetworkInsightsPath.Builder filterAtDestination​(PathFilter filterAtDestination)

        Scopes the analysis to network paths that match specific filters at the destination.

        Parameters:
        filterAtDestination - Scopes the analysis to network paths that match specific filters at the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.