Interface NetworkInsightsPath.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NetworkInsightsPath.Builder,NetworkInsightsPath>, SdkBuilder<NetworkInsightsPath.Builder,NetworkInsightsPath>, SdkPojo
Enclosing class:
NetworkInsightsPath

public static interface NetworkInsightsPath.Builder extends SdkPojo, CopyableBuilder<NetworkInsightsPath.Builder,NetworkInsightsPath>
  • Method Details

    • 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

      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.
    • protocol

      NetworkInsightsPath.Builder protocol(String protocol)

      The protocol.

      Parameters:
      protocol - The protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      The protocol.

      Parameters:
      protocol - The protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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<Tag>).

      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:
    • 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.
    • filterAtSource

      default NetworkInsightsPath.Builder filterAtSource(Consumer<PathFilter.Builder> filterAtSource)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterAtSource(PathFilter).

      Parameters:
      filterAtSource - a consumer that will call methods on PathFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • filterAtDestination

      default NetworkInsightsPath.Builder filterAtDestination(Consumer<PathFilter.Builder> filterAtDestination)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterAtDestination(PathFilter).

      Parameters:
      filterAtDestination - a consumer that will call methods on PathFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: