Class CfnViewProps.Builder

java.lang.Object
software.amazon.awscdk.services.resourceexplorer2.CfnViewProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewProps>
Enclosing interface:
CfnViewProps

@Stability(Stable) public static final class CfnViewProps.Builder extends Object implements software.amazon.jsii.Builder<CfnViewProps>
A builder for CfnViewProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • viewName

      @Stability(Stable) public CfnViewProps.Builder viewName(String viewName)
      Sets the value of CfnViewProps.getViewName()
      Parameters:
      viewName - The name of the new view. This parameter is required.
      Returns:
      this
    • filters

      @Stability(Stable) public CfnViewProps.Builder filters(CfnView.FiltersProperty filters)
      Sets the value of CfnViewProps.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's QueryString parameter using a logical AND 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 letters us and are not tagged with a key Stage that has the value prod .

      Returns:
      this
    • filters

      @Stability(Stable) public CfnViewProps.Builder filters(IResolvable filters)
      Sets the value of CfnViewProps.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's QueryString parameter using a logical AND 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 letters us and are not tagged with a key Stage that has the value prod .

      Returns:
      this
    • includedProperties

      @Stability(Stable) public CfnViewProps.Builder includedProperties(IResolvable includedProperties)
      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)
      Parameters:
      includedProperties - A list of fields that provide additional information about the view.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnViewProps.Builder tags(Map<String,String> tags)
      Sets the value of CfnViewProps.getTags()
      Parameters:
      tags - Tag key and value pairs that are attached to the view.
      Returns:
      this
    • build

      @Stability(Stable) public CfnViewProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnViewProps>
      Returns:
      a new instance of CfnViewProps
      Throws:
      NullPointerException - if any required attribute was not provided