Interface GetSearchJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupSearchResponse.Builder,Buildable,CopyableBuilder<GetSearchJobResponse.Builder,,GetSearchJobResponse> SdkBuilder<GetSearchJobResponse.Builder,,GetSearchJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSearchJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime(Instant completionTime) The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC).creationTime(Instant creationTime) The date and time that a search job was created, in Unix format and Coordinated Universal Time (UTC).default GetSearchJobResponse.BuildercurrentSearchProgress(Consumer<CurrentSearchProgress.Builder> currentSearchProgress) Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.currentSearchProgress(CurrentSearchProgress currentSearchProgress) Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.encryptionKeyArn(String encryptionKeyArn) The encryption key for the specified search job.default GetSearchJobResponse.BuilderitemFilters(Consumer<ItemFilters.Builder> itemFilters) Item Filters represent all input item properties specified when the search was created.itemFilters(ItemFilters itemFilters) Item Filters represent all input item properties specified when the search was created.Returned name of the specified 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 identifies the specified search job.default GetSearchJobResponse.BuildersearchScope(Consumer<SearchScope.Builder> searchScope) The search scope is all backup properties input into a search.searchScope(SearchScope searchScope) The search scope is all backup properties input into a search.default GetSearchJobResponse.BuildersearchScopeSummary(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:The current status of the specified search job.status(SearchJobState status) The current status of the specified search job.statusMessage(String statusMessage) A status message will be returned for either a earch job with a status ofERROREDor a status ofCOMPLETEDjobs with issues.Methods inherited from interface software.amazon.awssdk.services.backupsearch.model.BackupSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 GetSearchJobResponse.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.Builderavoiding the need to create one manually viaSearchScopeSummary.builder().When the
Consumercompletes,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:
-
-
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.
-
currentSearchProgress
default GetSearchJobResponse.Builder currentSearchProgress(Consumer<CurrentSearchProgress.Builder> currentSearchProgress) Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.
This is a convenience method that creates an instance of theCurrentSearchProgress.Builderavoiding the need to create one manually viaCurrentSearchProgress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentSearchProgress(CurrentSearchProgress).- Parameters:
currentSearchProgress- a consumer that will call methods onCurrentSearchProgress.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
ERROREDor a status ofCOMPLETEDjobs 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 ofERROREDor a status ofCOMPLETEDjobs 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
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
The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionTimeis 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 ofCompletionTimeis 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
The current status of the specified search job.
A search job may have one of the following statuses:
RUNNING;COMPLETED;STOPPED;FAILED;TIMED_OUT; orEXPIRED.- 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; orEXPIRED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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; orEXPIRED.- 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; orEXPIRED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
searchScope
The search scope is all backup properties input into a search.
This is a convenience method that creates an instance of theSearchScope.Builderavoiding the need to create one manually viaSearchScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchScope(SearchScope).- Parameters:
searchScope- a consumer that will call methods onSearchScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
itemFilters
Item Filters represent all input item properties specified when the search was created.
This is a convenience method that creates an instance of theItemFilters.Builderavoiding the need to create one manually viaItemFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemFilters(ItemFilters).- Parameters:
itemFilters- a consumer that will call methods onItemFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The date and time that a search job was created, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionTimeis 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 ofCompletionTimeis 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
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
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.
-