Interface SearchJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchJobSummary.Builder,
,SearchJobSummary> SdkBuilder<SearchJobSummary.Builder,
,SearchJobSummary> SdkPojo
- Enclosing class:
SearchJobSummary
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime
(Instant completionTime) This is the completion time of the search job.creationTime
(Instant creationTime) This is the creation time of the search job.This is the name of the search job.searchJobArn
(String searchJobArn) The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.searchJobIdentifier
(String searchJobIdentifier) The unique string that specifies the search job.default SearchJobSummary.Builder
searchScopeSummary
(Consumer<SearchScopeSummary.Builder> searchScopeSummary) Returned summary of the specified search job scope, including:searchScopeSummary
(SearchScopeSummary searchScopeSummary) Returned summary of the specified search job scope, including:This is the status of the search job.status
(SearchJobState status) This is the status of the search job.statusMessage
(String statusMessage) A status message will be returned for either a earch job with a status ofERRORED
or a status ofCOMPLETED
jobs with issues.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, sdkFieldNameToField, sdkFields
-
Method Details
-
searchJobIdentifier
The unique string that specifies the search job.
- Parameters:
searchJobIdentifier
- The unique string that specifies the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
name
This is the name of the search job.
- Parameters:
name
- This is the name of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This is the status of the search job.
- Parameters:
status
- This is the status of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
This is the status of the search job.
- Parameters:
status
- This is the status of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
This is the creation time of the search job.
- Parameters:
creationTime
- This is the creation time of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
This is the completion time of the search job.
- Parameters:
completionTime
- This is the completion time of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
-
searchScopeSummary
default SearchJobSummary.Builder searchScopeSummary(Consumer<SearchScopeSummary.Builder> 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.
SearchScopeSummary.Builder
avoiding the need to create one manually viaSearchScopeSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchScopeSummary(SearchScopeSummary)
.- Parameters:
searchScopeSummary
- a consumer that will call methods onSearchScopeSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusMessage
A status message will be returned for either a earch job with a status of
ERRORED
or a status ofCOMPLETED
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 ofERRORED
or a status ofCOMPLETED
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.
-