Interface DescribeNetworkInsightsAnalysesRequest.Builder

    • Method Detail

      • networkInsightsAnalysisIds

        DescribeNetworkInsightsAnalysesRequest.Builder networkInsightsAnalysisIds​(Collection<String> networkInsightsAnalysisIds)

        The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

        Parameters:
        networkInsightsAnalysisIds - The ID of the network insights analyses. You must specify either analysis IDs or a path ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInsightsAnalysisIds

        DescribeNetworkInsightsAnalysesRequest.Builder networkInsightsAnalysisIds​(String... networkInsightsAnalysisIds)

        The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

        Parameters:
        networkInsightsAnalysisIds - The ID of the network insights analyses. You must specify either analysis IDs or a path ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInsightsPathId

        DescribeNetworkInsightsAnalysesRequest.Builder networkInsightsPathId​(String networkInsightsPathId)

        The ID of the path. You must specify either a path ID or analysis IDs.

        Parameters:
        networkInsightsPathId - The ID of the path. You must specify either a path ID or analysis IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisStartTime

        DescribeNetworkInsightsAnalysesRequest.Builder analysisStartTime​(Instant analysisStartTime)

        The time when the network insights analyses started.

        Parameters:
        analysisStartTime - The time when the network insights analyses started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisEndTime

        DescribeNetworkInsightsAnalysesRequest.Builder analysisEndTime​(Instant analysisEndTime)

        The time when the network insights analyses ended.

        Parameters:
        analysisEndTime - The time when the network insights analyses ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeNetworkInsightsAnalysesRequest.Builder filters​(Collection<Filter> filters)

        The filters. The following are the possible values:

        • path-found - A Boolean value that indicates whether a feasible path is found.

        • status - The status of the analysis (running | succeeded | failed).

        Parameters:
        filters - The filters. The following are the possible values:

        • path-found - A Boolean value that indicates whether a feasible path is found.

        • status - The status of the analysis (running | succeeded | failed).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeNetworkInsightsAnalysesRequest.Builder filters​(Filter... filters)

        The filters. The following are the possible values:

        • path-found - A Boolean value that indicates whether a feasible path is found.

        • status - The status of the analysis (running | succeeded | failed).

        Parameters:
        filters - The filters. The following are the possible values:

        • path-found - A Boolean value that indicates whether a feasible path is found.

        • status - The status of the analysis (running | succeeded | failed).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeNetworkInsightsAnalysesRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        The filters. The following are the possible values:

        • path-found - A Boolean value that indicates whether a feasible path is found.

        • status - The status of the analysis (running | succeeded | failed).

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • maxResults

        DescribeNetworkInsightsAnalysesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

        Parameters:
        maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        DescribeNetworkInsightsAnalysesRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeNetworkInsightsAnalysesRequest.Builder nextToken​(String nextToken)

        The token for the next page of results.

        Parameters:
        nextToken - The token for the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.