Interface CreatePackageDecisionRequest.Builder

  • Method Details

    • purl

      The package URL (purl) of the package version to evaluate, such as pkg:npm/lodash@4.17.21.

      Parameters:
      purl - The package URL (purl) of the package version to evaluate, such as pkg:npm/lodash@4.17.21 .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreatePackageDecisionRequest.Builder clientToken(String clientToken)

      Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same parameters returns the original decision, and the same token with different parameters returns ValidationException. Requests without a token are rejected with ValidationException.

      Parameters:
      clientToken - Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same parameters returns the original decision, and the same token with different parameters returns ValidationException. Requests without a token are rejected with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePackageDecisionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.