Interface BatchAssociateCodeSecurityScanConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchAssociateCodeSecurityScanConfigurationResponse.Builder,
,BatchAssociateCodeSecurityScanConfigurationResponse> Inspector2Response.Builder
,SdkBuilder<BatchAssociateCodeSecurityScanConfigurationResponse.Builder,
,BatchAssociateCodeSecurityScanConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchAssociateCodeSecurityScanConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedAssociations
(Collection<FailedAssociationResult> failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.failedAssociations
(Consumer<FailedAssociationResult.Builder>... failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.failedAssociations
(FailedAssociationResult... failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.successfulAssociations
(Collection<SuccessfulAssociationResult> successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.successfulAssociations
(Consumer<SuccessfulAssociationResult.Builder>... successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.successfulAssociations
(SuccessfulAssociationResult... successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
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
-
failedAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder failedAssociations(Collection<FailedAssociationResult> failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.
- Parameters:
failedAssociations
- Details of any code repositories that failed to be associated with the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder failedAssociations(FailedAssociationResult... failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.
- Parameters:
failedAssociations
- Details of any code repositories that failed to be associated with the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder failedAssociations(Consumer<FailedAssociationResult.Builder>... failedAssociations) Details of any code repositories that failed to be associated with the scan configuration.
This is a convenience method that creates an instance of theFailedAssociationResult.Builder
avoiding the need to create one manually viaFailedAssociationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedAssociations(List<FailedAssociationResult>)
.- Parameters:
failedAssociations
- a consumer that will call methods onFailedAssociationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successfulAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder successfulAssociations(Collection<SuccessfulAssociationResult> successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.
- Parameters:
successfulAssociations
- Details of code repositories that were successfully associated with the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder successfulAssociations(SuccessfulAssociationResult... successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.
- Parameters:
successfulAssociations
- Details of code repositories that were successfully associated with the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulAssociations
BatchAssociateCodeSecurityScanConfigurationResponse.Builder successfulAssociations(Consumer<SuccessfulAssociationResult.Builder>... successfulAssociations) Details of code repositories that were successfully associated with the scan configuration.
This is a convenience method that creates an instance of theSuccessfulAssociationResult.Builder
avoiding the need to create one manually viaSuccessfulAssociationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulAssociations(List<SuccessfulAssociationResult>)
.- Parameters:
successfulAssociations
- a consumer that will call methods onSuccessfulAssociationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-