Interface CfnFilter.PackageFilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFilter.PackageFilterProperty.Jsii$Proxy
Enclosing class:
CfnFilter

@Stability(Stable) public static interface CfnFilter.PackageFilterProperty extends software.amazon.jsii.JsiiSerializable
Contains information on the details of a package filter.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.inspectorv2.*;
 PackageFilterProperty packageFilterProperty = PackageFilterProperty.builder()
         .architecture(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build())
         .epoch(NumberFilterProperty.builder()
                 .lowerInclusive(123)
                 .upperInclusive(123)
                 .build())
         .name(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build())
         .release(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build())
         .sourceLayerHash(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build())
         .version(StringFilterProperty.builder()
                 .comparison("comparison")
                 .value("value")
                 .build())
         .build();
 
  • Method Details

    • getArchitecture

      @Stability(Stable) @Nullable default Object getArchitecture()
      An object that contains details on the package architecture type to filter on.
    • getEpoch

      @Stability(Stable) @Nullable default Object getEpoch()
      An object that contains details on the package epoch to filter on.
    • getName

      @Stability(Stable) @Nullable default Object getName()
      An object that contains details on the name of the package to filter on.
    • getRelease

      @Stability(Stable) @Nullable default Object getRelease()
      An object that contains details on the package release to filter on.
    • getSourceLayerHash

      @Stability(Stable) @Nullable default Object getSourceLayerHash()
      An object that contains details on the source layer hash to filter on.
    • getVersion

      @Stability(Stable) @Nullable default Object getVersion()
      The package version to filter on.
    • builder

      @Stability(Stable) static CfnFilter.PackageFilterProperty.Builder builder()
      Returns:
      a CfnFilter.PackageFilterProperty.Builder of CfnFilter.PackageFilterProperty