Interface NetworkInsightsAnalysis.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInsightsAnalysis.Builder,NetworkInsightsAnalysis>
,SdkBuilder<NetworkInsightsAnalysis.Builder,NetworkInsightsAnalysis>
,SdkPojo
- Enclosing class:
- NetworkInsightsAnalysis
public static interface NetworkInsightsAnalysis.Builder extends SdkPojo, CopyableBuilder<NetworkInsightsAnalysis.Builder,NetworkInsightsAnalysis>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInsightsAnalysis.Builder
additionalAccounts(String... additionalAccounts)
The member accounts that contain resources that the path can traverse.NetworkInsightsAnalysis.Builder
additionalAccounts(Collection<String> additionalAccounts)
The member accounts that contain resources that the path can traverse.NetworkInsightsAnalysis.Builder
alternatePathHints(Collection<AlternatePathHint> alternatePathHints)
Potential intermediate components.NetworkInsightsAnalysis.Builder
alternatePathHints(Consumer<AlternatePathHint.Builder>... alternatePathHints)
Potential intermediate components.NetworkInsightsAnalysis.Builder
alternatePathHints(AlternatePathHint... alternatePathHints)
Potential intermediate components.NetworkInsightsAnalysis.Builder
explanations(Collection<Explanation> explanations)
The explanations.NetworkInsightsAnalysis.Builder
explanations(Consumer<Explanation.Builder>... explanations)
The explanations.NetworkInsightsAnalysis.Builder
explanations(Explanation... explanations)
The explanations.NetworkInsightsAnalysis.Builder
filterInArns(String... filterInArns)
The Amazon Resource Names (ARN) of the resources that the path must traverse.NetworkInsightsAnalysis.Builder
filterInArns(Collection<String> filterInArns)
The Amazon Resource Names (ARN) of the resources that the path must traverse.NetworkInsightsAnalysis.Builder
forwardPathComponents(Collection<PathComponent> forwardPathComponents)
The components in the path from source to destination.NetworkInsightsAnalysis.Builder
forwardPathComponents(Consumer<PathComponent.Builder>... forwardPathComponents)
The components in the path from source to destination.NetworkInsightsAnalysis.Builder
forwardPathComponents(PathComponent... forwardPathComponents)
The components in the path from source to destination.NetworkInsightsAnalysis.Builder
networkInsightsAnalysisArn(String networkInsightsAnalysisArn)
The Amazon Resource Name (ARN) of the network insights analysis.NetworkInsightsAnalysis.Builder
networkInsightsAnalysisId(String networkInsightsAnalysisId)
The ID of the network insights analysis.NetworkInsightsAnalysis.Builder
networkInsightsPathId(String networkInsightsPathId)
The ID of the path.NetworkInsightsAnalysis.Builder
networkPathFound(Boolean networkPathFound)
Indicates whether the destination is reachable from the source.NetworkInsightsAnalysis.Builder
returnPathComponents(Collection<PathComponent> returnPathComponents)
The components in the path from destination to source.NetworkInsightsAnalysis.Builder
returnPathComponents(Consumer<PathComponent.Builder>... returnPathComponents)
The components in the path from destination to source.NetworkInsightsAnalysis.Builder
returnPathComponents(PathComponent... returnPathComponents)
The components in the path from destination to source.NetworkInsightsAnalysis.Builder
startDate(Instant startDate)
The time the analysis started.NetworkInsightsAnalysis.Builder
status(String status)
The status of the network insights analysis.NetworkInsightsAnalysis.Builder
status(AnalysisStatus status)
The status of the network insights analysis.NetworkInsightsAnalysis.Builder
statusMessage(String statusMessage)
The status message, if the status isfailed
.NetworkInsightsAnalysis.Builder
suggestedAccounts(String... suggestedAccounts)
Potential intermediate accounts.NetworkInsightsAnalysis.Builder
suggestedAccounts(Collection<String> suggestedAccounts)
Potential intermediate accounts.NetworkInsightsAnalysis.Builder
tags(Collection<Tag> tags)
The tags.NetworkInsightsAnalysis.Builder
tags(Consumer<Tag.Builder>... tags)
The tags.NetworkInsightsAnalysis.Builder
tags(Tag... tags)
The tags.NetworkInsightsAnalysis.Builder
warningMessage(String warningMessage)
The warning message.-
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
-
networkInsightsAnalysisId
NetworkInsightsAnalysis.Builder networkInsightsAnalysisId(String networkInsightsAnalysisId)
The ID of the network insights analysis.
- Parameters:
networkInsightsAnalysisId
- The ID of the network insights analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInsightsAnalysisArn
NetworkInsightsAnalysis.Builder networkInsightsAnalysisArn(String networkInsightsAnalysisArn)
The Amazon Resource Name (ARN) of the network insights analysis.
- Parameters:
networkInsightsAnalysisArn
- The Amazon Resource Name (ARN) of the network insights analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInsightsPathId
NetworkInsightsAnalysis.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.
-
additionalAccounts
NetworkInsightsAnalysis.Builder additionalAccounts(Collection<String> additionalAccounts)
The member accounts that contain resources that the path can traverse.
- Parameters:
additionalAccounts
- The member accounts that contain resources that the path can traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAccounts
NetworkInsightsAnalysis.Builder additionalAccounts(String... additionalAccounts)
The member accounts that contain resources that the path can traverse.
- Parameters:
additionalAccounts
- The member accounts that contain resources that the path can traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterInArns
NetworkInsightsAnalysis.Builder filterInArns(Collection<String> filterInArns)
The Amazon Resource Names (ARN) of the resources that the path must traverse.
- Parameters:
filterInArns
- The Amazon Resource Names (ARN) of the resources that the path must traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterInArns
NetworkInsightsAnalysis.Builder filterInArns(String... filterInArns)
The Amazon Resource Names (ARN) of the resources that the path must traverse.
- Parameters:
filterInArns
- The Amazon Resource Names (ARN) of the resources that the path must traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
NetworkInsightsAnalysis.Builder startDate(Instant startDate)
The time the analysis started.
- Parameters:
startDate
- The time the analysis started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
NetworkInsightsAnalysis.Builder status(String status)
The status of the network insights analysis.
- Parameters:
status
- The status of the network insights analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalysisStatus
,AnalysisStatus
-
status
NetworkInsightsAnalysis.Builder status(AnalysisStatus status)
The status of the network insights analysis.
- Parameters:
status
- The status of the network insights analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalysisStatus
,AnalysisStatus
-
statusMessage
NetworkInsightsAnalysis.Builder statusMessage(String statusMessage)
The status message, if the status is
failed
.- Parameters:
statusMessage
- The status message, if the status isfailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warningMessage
NetworkInsightsAnalysis.Builder warningMessage(String warningMessage)
The warning message.
- Parameters:
warningMessage
- The warning message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkPathFound
NetworkInsightsAnalysis.Builder networkPathFound(Boolean networkPathFound)
Indicates whether the destination is reachable from the source.
- Parameters:
networkPathFound
- Indicates whether the destination is reachable from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forwardPathComponents
NetworkInsightsAnalysis.Builder forwardPathComponents(Collection<PathComponent> forwardPathComponents)
The components in the path from source to destination.
- Parameters:
forwardPathComponents
- The components in the path from source to destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forwardPathComponents
NetworkInsightsAnalysis.Builder forwardPathComponents(PathComponent... forwardPathComponents)
The components in the path from source to destination.
- Parameters:
forwardPathComponents
- The components in the path from source to destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forwardPathComponents
NetworkInsightsAnalysis.Builder forwardPathComponents(Consumer<PathComponent.Builder>... forwardPathComponents)
The components in the path from source to destination.
This is a convenience method that creates an instance of thePathComponent.Builder
avoiding the need to create one manually viaPathComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#forwardPathComponents(List
.) - Parameters:
forwardPathComponents
- a consumer that will call methods onPathComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#forwardPathComponents(java.util.Collection
)
-
returnPathComponents
NetworkInsightsAnalysis.Builder returnPathComponents(Collection<PathComponent> returnPathComponents)
The components in the path from destination to source.
- Parameters:
returnPathComponents
- The components in the path from destination to source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnPathComponents
NetworkInsightsAnalysis.Builder returnPathComponents(PathComponent... returnPathComponents)
The components in the path from destination to source.
- Parameters:
returnPathComponents
- The components in the path from destination to source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnPathComponents
NetworkInsightsAnalysis.Builder returnPathComponents(Consumer<PathComponent.Builder>... returnPathComponents)
The components in the path from destination to source.
This is a convenience method that creates an instance of thePathComponent.Builder
avoiding the need to create one manually viaPathComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#returnPathComponents(List
.) - Parameters:
returnPathComponents
- a consumer that will call methods onPathComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#returnPathComponents(java.util.Collection
)
-
explanations
NetworkInsightsAnalysis.Builder explanations(Collection<Explanation> explanations)
The explanations. For more information, see Reachability Analyzer explanation codes.
- Parameters:
explanations
- The explanations. For more information, see Reachability Analyzer explanation codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explanations
NetworkInsightsAnalysis.Builder explanations(Explanation... explanations)
The explanations. For more information, see Reachability Analyzer explanation codes.
- Parameters:
explanations
- The explanations. For more information, see Reachability Analyzer explanation codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explanations
NetworkInsightsAnalysis.Builder explanations(Consumer<Explanation.Builder>... explanations)
The explanations. For more information, see Reachability Analyzer explanation codes.
This is a convenience method that creates an instance of theExplanation.Builder
avoiding the need to create one manually viaExplanation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#explanations(List
.) - Parameters:
explanations
- a consumer that will call methods onExplanation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#explanations(java.util.Collection
)
-
alternatePathHints
NetworkInsightsAnalysis.Builder alternatePathHints(Collection<AlternatePathHint> alternatePathHints)
Potential intermediate components.
- Parameters:
alternatePathHints
- Potential intermediate components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternatePathHints
NetworkInsightsAnalysis.Builder alternatePathHints(AlternatePathHint... alternatePathHints)
Potential intermediate components.
- Parameters:
alternatePathHints
- Potential intermediate components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternatePathHints
NetworkInsightsAnalysis.Builder alternatePathHints(Consumer<AlternatePathHint.Builder>... alternatePathHints)
Potential intermediate components.
This is a convenience method that creates an instance of theAlternatePathHint.Builder
avoiding the need to create one manually viaAlternatePathHint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#alternatePathHints(List
.) - Parameters:
alternatePathHints
- a consumer that will call methods onAlternatePathHint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#alternatePathHints(java.util.Collection
)
-
suggestedAccounts
NetworkInsightsAnalysis.Builder suggestedAccounts(Collection<String> suggestedAccounts)
Potential intermediate accounts.
- Parameters:
suggestedAccounts
- Potential intermediate accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestedAccounts
NetworkInsightsAnalysis.Builder suggestedAccounts(String... suggestedAccounts)
Potential intermediate accounts.
- Parameters:
suggestedAccounts
- Potential intermediate accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NetworkInsightsAnalysis.Builder tags(Collection<Tag> tags)
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NetworkInsightsAnalysis.Builder tags(Tag... tags)
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NetworkInsightsAnalysis.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
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
)
-
-