Class CfnSearchJobProps.Builder
java.lang.Object
software.amazon.awscdk.services.backupsearch.CfnSearchJobProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSearchJobProps>
- Enclosing interface:
CfnSearchJobProps
@Stability(Stable)
public static final class CfnSearchJobProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSearchJobProps>
A builder for
CfnSearchJobProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSearchJobProps.getName()searchScope(IResolvable searchScope) Sets the value ofCfnSearchJobProps.getSearchScope()searchScope(CfnSearchJob.SearchScopeProperty searchScope) Sets the value ofCfnSearchJobProps.getSearchScope()tags(List<? extends CfnSearchJob.TagsItemsProperty> tags) Sets the value ofCfnSearchJobProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
searchScope
Sets the value ofCfnSearchJobProps.getSearchScope()- Parameters:
searchScope- The search scope for the search job. This parameter is required.- Returns:
this
-
searchScope
@Stability(Stable) public CfnSearchJobProps.Builder searchScope(CfnSearchJob.SearchScopeProperty searchScope) Sets the value ofCfnSearchJobProps.getSearchScope()- Parameters:
searchScope- The search scope for the search job. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnSearchJobProps.getName()- Parameters:
name- The name of the search job.- Returns:
this
-
tags
@Stability(Stable) public CfnSearchJobProps.Builder tags(List<? extends CfnSearchJob.TagsItemsProperty> tags) Sets the value ofCfnSearchJobProps.getTags()- Parameters:
tags- Tags associated with the search job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSearchJobProps>- Returns:
- a new instance of
CfnSearchJobProps - Throws:
NullPointerException- if any required attribute was not provided
-