Class CfnView.SearchFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resourceexplorer2.CfnView.SearchFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnView.SearchFilterProperty>
- Enclosing interface:
CfnView.SearchFilterProperty
@Stability(Stable)
public static final class CfnView.SearchFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnView.SearchFilterProperty>
A builder for
CfnView.SearchFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.filterString
(String filterString) Sets the value ofCfnView.SearchFilterProperty.getFilterString()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterString
Sets the value ofCfnView.SearchFilterProperty.getFilterString()
- Parameters:
filterString
- The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. This parameter is required. For information about the supported syntax, see Search query reference 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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnView.SearchFilterProperty>
- Returns:
- a new instance of
CfnView.SearchFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-