Interface StartSearchJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupSearchRequest.Builder,Buildable,CopyableBuilder<StartSearchJobRequest.Builder,,StartSearchJobRequest> SdkBuilder<StartSearchJobRequest.Builder,,StartSearchJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartSearchJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Include this parameter to allow multiple identical calls for idempotency.encryptionKeyArn(String encryptionKeyArn) The encryption key for the specified search job.default StartSearchJobRequest.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.Include alphanumeric characters to create a name for this search job.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default StartSearchJobRequest.BuildersearchScope(Consumer<SearchScope.Builder> searchScope) This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.searchScope(SearchScope searchScope) This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.List of tags returned by the operation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backupsearch.model.BackupSearchRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
tags
List of tags returned by the operation.
- Parameters:
tags- List of tags returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Include alphanumeric characters to create a name for this search job.
- Parameters:
name- Include alphanumeric characters to create a name for this search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The encryption key for the specified search job.
- Parameters:
encryptionKeyArn- The encryption key for the specified search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Include this parameter to allow multiple identical calls for idempotency.
A client token is valid for 8 hours after the first request that uses it is completed. After this time, any request with the same token is treated as a new request.
- Parameters:
clientToken- Include this parameter to allow multiple identical calls for idempotency.A client token is valid for 8 hours after the first request that uses it is completed. After this time, any request with the same token is treated as a new request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchScope
This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.
- Parameters:
searchScope- This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchScope
This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.
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.
Contains either EBSItemFilters or S3ItemFilters
- Parameters:
itemFilters- Item Filters represent all input item properties specified when the search was created.Contains either EBSItemFilters or S3ItemFilters
- 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.
Contains either EBSItemFilters or S3ItemFilters
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:
-
overrideConfiguration
StartSearchJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartSearchJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-