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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkInsightsPath.Builder
createdDate(Instant createdDate)
The time stamp when the path was created.NetworkInsightsPath.Builder
destination(String destination)
The ID of the destination.NetworkInsightsPath.Builder
destinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.NetworkInsightsPath.Builder
destinationIp(String destinationIp)
The IP address of the destination.NetworkInsightsPath.Builder
destinationPort(Integer destinationPort)
The destination port.default NetworkInsightsPath.Builder
filterAtDestination(Consumer<PathFilter.Builder> filterAtDestination)
Scopes the analysis to network paths that match specific filters at the destination.NetworkInsightsPath.Builder
filterAtDestination(PathFilter filterAtDestination)
Scopes the analysis to network paths that match specific filters at the destination.default NetworkInsightsPath.Builder
filterAtSource(Consumer<PathFilter.Builder> filterAtSource)
Scopes the analysis to network paths that match specific filters at the source.NetworkInsightsPath.Builder
filterAtSource(PathFilter filterAtSource)
Scopes the analysis to network paths that match specific filters at the source.NetworkInsightsPath.Builder
networkInsightsPathArn(String networkInsightsPathArn)
The Amazon Resource Name (ARN) of the path.NetworkInsightsPath.Builder
networkInsightsPathId(String networkInsightsPathId)
The ID of the path.NetworkInsightsPath.Builder
protocol(String protocol)
The protocol.NetworkInsightsPath.Builder
protocol(Protocol protocol)
The protocol.NetworkInsightsPath.Builder
source(String source)
The ID of the source.NetworkInsightsPath.Builder
sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the source.NetworkInsightsPath.Builder
sourceIp(String sourceIp)
The IP address of the source.NetworkInsightsPath.Builder
tags(Collection<Tag> tags)
The tags associated with the path.NetworkInsightsPath.Builder
tags(Consumer<Tag.Builder>... tags)
The tags associated with the path.NetworkInsightsPath.Builder
tags(Tag... tags)
The tags associated with the path.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
protocol
NetworkInsightsPath.Builder protocol(String protocol)
The protocol.
-
protocol
NetworkInsightsPath.Builder protocol(Protocol protocol)
The protocol.
-
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 theTag.Builder
avoiding the need to create one manually viaTag.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 onTag.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.
-
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 thePathFilter.Builder
avoiding the need to create one manually viaPathFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterAtSource(PathFilter)
.- Parameters:
filterAtSource
- a consumer that will call methods onPathFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filterAtSource(PathFilter)
-
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 thePathFilter.Builder
avoiding the need to create one manually viaPathFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterAtDestination(PathFilter)
.- Parameters:
filterAtDestination
- a consumer that will call methods onPathFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filterAtDestination(PathFilter)
-
-