Class CfnViewProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewProps>
- Enclosing interface:
CfnViewProps
CfnViewProps
-
Constructor Summary
-
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.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'sQueryString
parameter using a logicalAND
operator.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=prod
includes all Amazon EC2 resources in any AWS Region that begin with the lettersus
and are not tagged with a keyStage
that 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'sQueryString
parameter using a logicalAND
operator.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=prod
includes all Amazon EC2 resources in any AWS Region that begin with the lettersus
and are not tagged with a keyStage
that 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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnViewProps>
- Returns:
- a new instance of
CfnViewProps
- Throws:
NullPointerException
- if any required attribute was not provided
-