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.BuildercreatedDate(Instant createdDate)The time stamp when the path was created.NetworkInsightsPath.Builderdestination(String destination)The ID of the destination.NetworkInsightsPath.BuilderdestinationArn(String destinationArn)The Amazon Resource Name (ARN) of the destination.NetworkInsightsPath.BuilderdestinationIp(String destinationIp)The IP address of the destination.NetworkInsightsPath.BuilderdestinationPort(Integer destinationPort)The destination port.default NetworkInsightsPath.BuilderfilterAtDestination(Consumer<PathFilter.Builder> filterAtDestination)Scopes the analysis to network paths that match specific filters at the destination.NetworkInsightsPath.BuilderfilterAtDestination(PathFilter filterAtDestination)Scopes the analysis to network paths that match specific filters at the destination.default NetworkInsightsPath.BuilderfilterAtSource(Consumer<PathFilter.Builder> filterAtSource)Scopes the analysis to network paths that match specific filters at the source.NetworkInsightsPath.BuilderfilterAtSource(PathFilter filterAtSource)Scopes the analysis to network paths that match specific filters at the source.NetworkInsightsPath.BuildernetworkInsightsPathArn(String networkInsightsPathArn)The Amazon Resource Name (ARN) of the path.NetworkInsightsPath.BuildernetworkInsightsPathId(String networkInsightsPathId)The ID of the path.NetworkInsightsPath.Builderprotocol(String protocol)The protocol.NetworkInsightsPath.Builderprotocol(Protocol protocol)The protocol.NetworkInsightsPath.Buildersource(String source)The ID of the source.NetworkInsightsPath.BuildersourceArn(String sourceArn)The Amazon Resource Name (ARN) of the source.NetworkInsightsPath.BuildersourceIp(String sourceIp)The IP address of the source.NetworkInsightsPath.Buildertags(Collection<Tag> tags)The tags associated with the path.NetworkInsightsPath.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the path.NetworkInsightsPath.Buildertags(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, 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaPathFilter.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaPathFilter.builder().When the
Consumercompletes,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)
-
-