Interface CreateCodeScanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<CreateCodeScanResponse.Builder,,CreateCodeScanResponse> SdkBuilder<CreateCodeScanResponse.Builder,,CreateCodeScanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCodeScanResponse
@Mutable
@NotThreadSafe
public static interface CreateCodeScanResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<CreateCodeScanResponse.Builder,CreateCodeScanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCodeScanResponse.Builderscan(Consumer<CodeScanSummary.Builder> scan) The scan run this request created, or the scan run a previous request with the same clientToken already accepted.scan(CodeScanSummary scan) The scan run this request created, or the scan run a previous request with the same clientToken already accepted.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scan
The scan run this request created, or the scan run a previous request with the same clientToken already accepted.
- Parameters:
scan- The scan run this request created, or the scan run a previous request with the same clientToken already accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scan
The scan run this request created, or the scan run a previous request with the same clientToken already accepted.
This is a convenience method that creates an instance of theCodeScanSummary.Builderavoiding the need to create one manually viaCodeScanSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscan(CodeScanSummary).- Parameters:
scan- a consumer that will call methods onCodeScanSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-