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 SummaryModifier and TypeMethodDescriptiondefault CreateScanResponse.BuilderresourceId(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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
scanNameThe 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.
 
- 
runIdUUID 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.
 
- 
resourceIdThe 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.
 
- 
resourceIdThe identifier for the resource object that contains resources that were scanned. This is a convenience method that creates an instance of theResourceId.Builderavoiding the need to create one manually viaResourceId.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceId(ResourceId).- Parameters:
- resourceId- a consumer that will call methods on- ResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanStateThe current state of the scan. Returns either InProgress,Successful, orFailed.- Parameters:
- scanState- The current state of the scan. Returns either- InProgress,- Successful, or- Failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanStateThe current state of the scan. Returns either InProgress,Successful, orFailed.- Parameters:
- scanState- The current state of the scan. Returns either- InProgress,- Successful, or- Failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanNameArnThe 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.
 
 
-