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