Interface CreateScanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruSecurityResponse.Builder
,CopyableBuilder<CreateScanResponse.Builder,
,CreateScanResponse> SdkBuilder<CreateScanResponse.Builder,
,CreateScanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateScanResponse
@Mutable
@NotThreadSafe
public static interface CreateScanResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<CreateScanResponse.Builder,CreateScanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateScanResponse.Builder
resourceId
(Consumer<ResourceId.Builder> resourceId) The identifier for the resource object that contains resources that were scanned.resourceId
(ResourceId resourceId) The identifier for the resource object that contains resources that were scanned.UUID that identifies the individual scan run.The name of the scan.scanNameArn
(String scanNameArn) The ARN for the scan name.The current state of the scan.The current state of the scan.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceId
The identifier for the resource object that contains resources that were scanned.
- Parameters:
resourceId
- The identifier for the resource object that contains resources that were scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceId(ResourceId)
.- Parameters:
resourceId
- a consumer that will call methods onResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runId
UUID that identifies the individual scan run.
- Parameters:
runId
- UUID that identifies the individual scan run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanName
The name of the scan.
- Parameters:
scanName
- The name of the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanNameArn
The ARN for the scan name.
- Parameters:
scanNameArn
- The ARN for the scan name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanState
The current state of the scan. Returns either
InProgress
,Successful
, orFailed
.- Parameters:
scanState
- The current state of the scan. Returns eitherInProgress
,Successful
, orFailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanState
The current state of the scan. Returns either
InProgress
,Successful
, orFailed
.- Parameters:
scanState
- The current state of the scan. Returns eitherInProgress
,Successful
, orFailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-