Class CfnViewProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewProps>
- Enclosing interface:
CfnViewProps
CfnViewProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.filters(IResolvable filters) Sets the value ofCfnViewProps.getFilters()filters(CfnView.FiltersProperty filters) Sets the value ofCfnViewProps.getFilters()includedProperties(List<? extends Object> includedProperties) Sets the value ofCfnViewProps.getIncludedProperties()includedProperties(IResolvable includedProperties) Sets the value ofCfnViewProps.getIncludedProperties()Sets the value ofCfnViewProps.getScope()Sets the value ofCfnViewProps.getTags()Sets the value ofCfnViewProps.getViewName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
viewName
Sets the value ofCfnViewProps.getViewName()- Parameters:
viewName- The name of the new view. This parameter is required.- Returns:
this
-
filters
Sets the value ofCfnViewProps.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
Sets the value ofCfnViewProps.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
Sets the value ofCfnViewProps.getIncludedProperties()- Parameters:
includedProperties- A list of fields that provide additional information about the view.- Returns:
this
-
includedProperties
@Stability(Stable) public CfnViewProps.Builder includedProperties(List<? extends Object> includedProperties) Sets the value ofCfnViewProps.getIncludedProperties()- Parameters:
includedProperties- A list of fields that provide additional information about the view.- Returns:
this
-
scope
Sets the value ofCfnViewProps.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 ofCfnViewProps.getTags()- Parameters:
tags- Tag key and value pairs that are attached to the view.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewProps>- Returns:
- a new instance of
CfnViewProps - Throws:
NullPointerException- if any required attribute was not provided
-