Class CfnSearchJob.Builder
java.lang.Object
software.amazon.awscdk.services.backupsearch.CfnSearchJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSearchJob>
- Enclosing class:
CfnSearchJob
@Stability(Stable)
public static final class CfnSearchJob.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSearchJob>
A fluent builder for
CfnSearchJob.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSearchJob.BuilderThe name of the search job.searchScope(IResolvable searchScope) The search scope for the search job.searchScope(CfnSearchJob.SearchScopeProperty searchScope) The search scope for the search job.tags(List<? extends CfnSearchJob.TagsItemsProperty> tags) Tags associated with the search job.
-
Method Details
-
create
@Stability(Stable) public static CfnSearchJob.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSearchJob.Builder.
-
searchScope
The search scope for the search job.- Parameters:
searchScope- The search scope for the search job. This parameter is required.- Returns:
this- See Also:
-
searchScope
@Stability(Stable) public CfnSearchJob.Builder searchScope(CfnSearchJob.SearchScopeProperty searchScope) The search scope for the search job.- Parameters:
searchScope- The search scope for the search job. This parameter is required.- Returns:
this- See Also:
-
name
The name of the search job.- Parameters:
name- The name of the search job. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnSearchJob.Builder tags(List<? extends CfnSearchJob.TagsItemsProperty> tags) Tags associated with the search job.- Parameters:
tags- Tags associated with the search job. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSearchJob>- Returns:
- a newly built instance of
CfnSearchJob.
-