Interface GetSearchJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupSearchResponse.Builder,Buildable,CopyableBuilder<GetSearchJobResponse.Builder,GetSearchJobResponse>,SdkBuilder<GetSearchJobResponse.Builder,GetSearchJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSearchJobResponse
public static interface GetSearchJobResponse.Builder extends BackupSearchResponse.Builder, SdkPojo, CopyableBuilder<GetSearchJobResponse.Builder,GetSearchJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSearchJobResponse.BuildercompletionTime(Instant completionTime)The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC).GetSearchJobResponse.BuildercreationTime(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.GetSearchJobResponse.BuildercurrentSearchProgress(CurrentSearchProgress currentSearchProgress)Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.GetSearchJobResponse.BuilderencryptionKeyArn(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.GetSearchJobResponse.BuilderitemFilters(ItemFilters itemFilters)Item Filters represent all input item properties specified when the search was created.GetSearchJobResponse.Buildername(String name)Returned name of the specified search job.GetSearchJobResponse.BuildersearchJobArn(String searchJobArn)The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.GetSearchJobResponse.BuildersearchJobIdentifier(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.GetSearchJobResponse.BuildersearchScope(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:GetSearchJobResponse.BuildersearchScopeSummary(SearchScopeSummary searchScopeSummary)Returned summary of the specified search job scope, including:GetSearchJobResponse.Builderstatus(String status)The current status of the specified search job.GetSearchJobResponse.Builderstatus(SearchJobState status)The current status of the specified search job.GetSearchJobResponse.BuilderstatusMessage(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, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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.
-
-
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:
searchScopeSummary(SearchScopeSummary)
-
-
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.
-
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:
currentSearchProgress(CurrentSearchProgress)
-
statusMessage
GetSearchJobResponse.Builder statusMessage(String 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
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
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
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; 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:
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; 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:
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.
-
searchScope
default GetSearchJobResponse.Builder searchScope(Consumer<SearchScope.Builder> 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:
searchScope(SearchScope)
-
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.
-
itemFilters
default GetSearchJobResponse.Builder itemFilters(Consumer<ItemFilters.Builder> 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:
itemFilters(ItemFilters)
-
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
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
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.
-
-