public static interface Scan.Definition
| Modifier and Type | Method and Description |
|---|---|
Scan |
create() |
Scan.Definition |
withExistingCodeArtifact(CodeArtifact codeArtifact) |
Scan.Definition |
withExistingCodeArtifact(java.lang.String id) |
Scan.Definition |
withLabel(java.lang.String label) |
Scan.Definition withExistingCodeArtifact(java.lang.String id)
id - ID of the code artifact to scanScan.Definition withExistingCodeArtifact(CodeArtifact codeArtifact)
codeArtifact - the code artifact to scanScan.Definition withLabel(java.lang.String label)
label - label that distinguishes this scan from others in the projectScan create() throws java.io.IOException
java.io.IOException - when an IO error occurs while making the request to the Contrast APIUnauthorizedException - when Contrast rejects the credentials used to send the requestResourceNotFoundException - when the requested resource does not existHttpResponseException - when Contrast rejects this request with an error codeCopyright © 2021 Contrast Security, Inc.. All rights reserved.