Interface ConditionValue.Builder

  • Method Details

    • packageIdentity

      ConditionValue.Builder packageIdentity(PackageIdentity packageIdentity)

      The package to match, for the PACKAGE_IDENTITY signal.

      Parameters:
      packageIdentity - The package to match, for the PACKAGE_IDENTITY signal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • packageIdentity

      default ConditionValue.Builder packageIdentity(Consumer<PackageIdentity.Builder> packageIdentity)

      The package to match, for the PACKAGE_IDENTITY signal.

      This is a convenience method that creates an instance of the PackageIdentity.Builder avoiding the need to create one manually via PackageIdentity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to packageIdentity(PackageIdentity).

      Parameters:
      packageIdentity - a consumer that will call methods on PackageIdentity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      ConditionValue.Builder severity(String severity)

      An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.

      Parameters:
      severity - An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.

      Parameters:
      severity - An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stringValue

      ConditionValue.Builder stringValue(String stringValue)

      A single value, for the EQUALS and NOT_EQUALS operators.

      Parameters:
      stringValue - A single value, for the EQUALS and NOT_EQUALS operators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stringSet

      ConditionValue.Builder stringSet(Collection<String> stringSet)

      A set of up to 20 values, for the IN operator.

      Parameters:
      stringSet - A set of up to 20 values, for the IN operator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stringSet

      ConditionValue.Builder stringSet(String... stringSet)

      A set of up to 20 values, for the IN operator.

      Parameters:
      stringSet - A set of up to 20 values, for the IN operator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.