Interface SearchJobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchJobSummary.Builder,SearchJobSummary>,SdkBuilder<SearchJobSummary.Builder,SearchJobSummary>,SdkPojo
- Enclosing class:
- SearchJobSummary
public static interface SearchJobSummary.Builder extends SdkPojo, CopyableBuilder<SearchJobSummary.Builder,SearchJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchJobSummary.BuildercompletionTime(Instant completionTime)This is the completion time of the search job.SearchJobSummary.BuildercreationTime(Instant creationTime)This is the creation time of the search job.SearchJobSummary.Buildername(String name)This is the name of the search job.SearchJobSummary.BuildersearchJobArn(String searchJobArn)The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.SearchJobSummary.BuildersearchJobIdentifier(String searchJobIdentifier)The unique string that specifies the search job.default SearchJobSummary.BuildersearchScopeSummary(Consumer<SearchScopeSummary.Builder> searchScopeSummary)Returned summary of the specified search job scope, including:SearchJobSummary.BuildersearchScopeSummary(SearchScopeSummary searchScopeSummary)Returned summary of the specified search job scope, including:SearchJobSummary.Builderstatus(String status)This is the status of the search job.SearchJobSummary.Builderstatus(SearchJobState status)This is the status of the search job.SearchJobSummary.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.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 Detail
-
searchJobIdentifier
SearchJobSummary.Builder searchJobIdentifier(String 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
SearchJobSummary.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.
-
name
SearchJobSummary.Builder name(String 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
SearchJobSummary.Builder status(String 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:
SearchJobState,SearchJobState
-
status
SearchJobSummary.Builder status(SearchJobState 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:
SearchJobState,SearchJobState
-
creationTime
SearchJobSummary.Builder creationTime(Instant 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
SearchJobSummary.Builder completionTime(Instant 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
SearchJobSummary.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 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.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)
-
-
statusMessage
SearchJobSummary.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.
-
-