Interface ListOperationsRequest.Builder

    • Method Detail

      • nextToken

        ListOperationsRequest.Builder nextToken​(String nextToken)

        For the first ListOperations request, omit this value.

        If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

        Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

        Parameters:
        nextToken - For the first ListOperations request, omit this value.

        If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

        Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

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

        ListOperationsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items that you want Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 operations.

        Parameters:
        maxResults - The maximum number of items that you want Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListOperationsRequest.Builder filters​(Collection<OperationFilter> filters)

        A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

        If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

        Parameters:
        filters - A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

        If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

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

        ListOperationsRequest.Builder filters​(OperationFilter... filters)

        A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

        If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

        Parameters:
        filters - A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

        If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

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

        ListOperationsRequest.Builder filters​(Consumer<OperationFilter.Builder>... filters)

        A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

        If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

        This is a convenience method that creates an instance of the OperationFilter.Builder avoiding the need to create one manually via OperationFilter.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 OperationFilter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)