Interface GetSearchJobResponse.Builder

    • Method Detail

      • name

        GetSearchJobResponse.Builder name​(String name)

        Returned name of the specified search job.

        Parameters:
        name - Returned name of the specified search job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • searchScopeSummary

        GetSearchJobResponse.Builder searchScopeSummary​(SearchScopeSummary searchScopeSummary)

        Returned summary of the specified search job scope, including:

        • TotalBackupsToScanCount, the number of recovery points returned by the search.

        • TotalItemsToScanCount, the number of items returned by the search.

        Parameters:
        searchScopeSummary - Returned summary of the specified search job scope, including:

        • TotalBackupsToScanCount, the number of recovery points returned by the search.

        • TotalItemsToScanCount, the number of items returned by the search.

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

        GetSearchJobResponse.Builder currentSearchProgress​(CurrentSearchProgress currentSearchProgress)

        Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.

        Parameters:
        currentSearchProgress - Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusMessage

        GetSearchJobResponse.Builder statusMessage​(String statusMessage)

        A status message will be returned for either a earch job with a status of ERRORED or a status of COMPLETED jobs with issues.

        For example, a message may say that a search contained recovery points unable to be scanned because of a permissions issue.

        Parameters:
        statusMessage - A status message will be returned for either a earch job with a status of ERRORED or a status of COMPLETED jobs with issues.

        For example, a message may say that a search contained recovery points unable to be scanned because of a permissions issue.

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

        GetSearchJobResponse.Builder encryptionKeyArn​(String encryptionKeyArn)

        The encryption key for the specified search job.

        Example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

        Parameters:
        encryptionKeyArn - The encryption key for the specified search job.

        Example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

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

        GetSearchJobResponse.Builder completionTime​(Instant completionTime)

        The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        Parameters:
        completionTime - The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        GetSearchJobResponse.Builder status​(String status)

        The current status of the specified search job.

        A search job may have one of the following statuses: RUNNING; COMPLETED; STOPPED; FAILED; TIMED_OUT; or EXPIRED .

        Parameters:
        status - The current status of the specified search job.

        A search job may have one of the following statuses: RUNNING; COMPLETED; STOPPED; FAILED; TIMED_OUT; or EXPIRED .

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SearchJobState, SearchJobState
      • status

        GetSearchJobResponse.Builder status​(SearchJobState status)

        The current status of the specified search job.

        A search job may have one of the following statuses: RUNNING; COMPLETED; STOPPED; FAILED; TIMED_OUT; or EXPIRED .

        Parameters:
        status - The current status of the specified search job.

        A search job may have one of the following statuses: RUNNING; COMPLETED; STOPPED; FAILED; TIMED_OUT; or EXPIRED .

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SearchJobState, SearchJobState
      • searchScope

        GetSearchJobResponse.Builder searchScope​(SearchScope searchScope)

        The search scope is all backup properties input into a search.

        Parameters:
        searchScope - The search scope is all backup properties input into a search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • itemFilters

        GetSearchJobResponse.Builder itemFilters​(ItemFilters itemFilters)

        Item Filters represent all input item properties specified when the search was created.

        Parameters:
        itemFilters - Item Filters represent all input item properties specified when the search was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        GetSearchJobResponse.Builder creationTime​(Instant creationTime)

        The date and time that a search job was created, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        Parameters:
        creationTime - The date and time that a search job was created, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • searchJobIdentifier

        GetSearchJobResponse.Builder searchJobIdentifier​(String searchJobIdentifier)

        The unique string that identifies the specified search job.

        Parameters:
        searchJobIdentifier - The unique string that identifies the specified search job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • searchJobArn

        GetSearchJobResponse.Builder searchJobArn​(String searchJobArn)

        The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

        Parameters:
        searchJobArn - The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.