Class CfnView.Builder

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

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

    • create

      @Stability(Stable) public static CfnView.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnView.Builder.
    • viewName

      @Stability(Stable) public CfnView.Builder viewName(String viewName)
      The name of the new view.

      Parameters:
      viewName - The name of the new view. This parameter is required.
      Returns:
      this
    • filters

      @Stability(Stable) public CfnView.Builder filters(CfnView.FiltersProperty 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 .

      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. This parameter is required.
      Returns:
      this
    • filters

      @Stability(Stable) public CfnView.Builder filters(IResolvable 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 .

      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. This parameter is required.
      Returns:
      this
    • includedProperties

      @Stability(Stable) public CfnView.Builder includedProperties(IResolvable includedProperties)
      A list of fields that provide additional information about the view.

      Parameters:
      includedProperties - A list of fields that provide additional information about the view. This parameter is required.
      Returns:
      this
    • includedProperties

      @Stability(Stable) public CfnView.Builder includedProperties(List<? extends Object> includedProperties)
      A list of fields that provide additional information about the view.

      Parameters:
      includedProperties - A list of fields that provide additional information about the view. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnView.Builder tags(Map<String,String> tags)
      Tag key and value pairs that are attached to the view.

      Parameters:
      tags - Tag key and value pairs that are attached to the view. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnView build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnView>
      Returns:
      a newly built instance of CfnView.