Class CfnViewMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewMixinProps>
- Enclosing interface:
CfnViewMixinProps
CfnViewMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.filters(IResolvable filters) Sets the value ofCfnViewMixinProps.getFilters()filters(CfnViewPropsMixin.FiltersProperty filters) Sets the value ofCfnViewMixinProps.getFilters()includedProperties(List<? extends Object> includedProperties) Sets the value ofCfnViewMixinProps.getIncludedProperties()includedProperties(IResolvable includedProperties) Sets the value ofCfnViewMixinProps.getIncludedProperties()Sets the value ofCfnViewMixinProps.getScope()Sets the value ofCfnViewMixinProps.getTags()Sets the value ofCfnViewMixinProps.getViewName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filters
Sets the value ofCfnViewMixinProps.getFilters()- Parameters:
filters- An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search'sQueryStringparameter using a logicalANDoperator.For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .
This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prodincludes all Amazon EC2 resources in any AWS Region that begin with the lettersusand are not tagged with a keyStagethat has the valueprod.- Returns:
this
-
filters
@Stability(Stable) public CfnViewMixinProps.Builder filters(CfnViewPropsMixin.FiltersProperty filters) Sets the value ofCfnViewMixinProps.getFilters()- Parameters:
filters- An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search'sQueryStringparameter using a logicalANDoperator.For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .
This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prodincludes all Amazon EC2 resources in any AWS Region that begin with the lettersusand are not tagged with a keyStagethat has the valueprod.- Returns:
this
-
includedProperties
@Stability(Stable) public CfnViewMixinProps.Builder includedProperties(IResolvable includedProperties) Sets the value ofCfnViewMixinProps.getIncludedProperties()- Parameters:
includedProperties- A list of fields that provide additional information about the view.- Returns:
this
-
includedProperties
@Stability(Stable) public CfnViewMixinProps.Builder includedProperties(List<? extends Object> includedProperties) Sets the value ofCfnViewMixinProps.getIncludedProperties()- Parameters:
includedProperties- A list of fields that provide additional information about the view.- Returns:
this
-
scope
Sets the value ofCfnViewMixinProps.getScope()- Parameters:
scope- The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.- Returns:
this
-
tags
Sets the value ofCfnViewMixinProps.getTags()- Parameters:
tags- Tag key and value pairs that are attached to the view.- Returns:
this
-
viewName
Sets the value ofCfnViewMixinProps.getViewName()- Parameters:
viewName- The name of the new view.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewMixinProps>- Returns:
- a new instance of
CfnViewMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-