public static interface CreateScanResponse.Builder extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<CreateScanResponse.Builder,CreateScanResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateScanResponse.Builder |
resourceId(Consumer<ResourceId.Builder> resourceId)
The identifier for the resource object that contains resources that were scanned.
|
CreateScanResponse.Builder |
resourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
|
CreateScanResponse.Builder |
runId(String runId)
UUID that identifies the individual scan run.
|
CreateScanResponse.Builder |
scanName(String scanName)
The name of the scan.
|
CreateScanResponse.Builder |
scanNameArn(String scanNameArn)
The ARN for the scan name.
|
CreateScanResponse.Builder |
scanState(ScanState scanState)
The current state of the scan.
|
CreateScanResponse.Builder |
scanState(String scanState)
The current state of the scan.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateScanResponse.Builder resourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
resourceId - The identifier for the resource object that contains resources that were scanned.default CreateScanResponse.Builder resourceId(Consumer<ResourceId.Builder> resourceId)
The identifier for the resource object that contains resources that were scanned.
This is a convenience method that creates an instance of theResourceId.Builder avoiding the need to
create one manually via ResourceId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to resourceId(ResourceId).
resourceId - a consumer that will call methods on ResourceId.BuilderresourceId(ResourceId)CreateScanResponse.Builder runId(String runId)
UUID that identifies the individual scan run.
runId - UUID that identifies the individual scan run.CreateScanResponse.Builder scanName(String scanName)
The name of the scan.
scanName - The name of the scan.CreateScanResponse.Builder scanNameArn(String scanNameArn)
The ARN for the scan name.
scanNameArn - The ARN for the scan name.CreateScanResponse.Builder scanState(String scanState)
The current state of the scan. Returns either InProgress, Successful, or
Failed.
CreateScanResponse.Builder scanState(ScanState scanState)
The current state of the scan. Returns either InProgress, Successful, or
Failed.
Copyright © 2023. All rights reserved.