Interface CreateCodeSecurityIntegrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCodeSecurityIntegrationRequest.Builder,
,CreateCodeSecurityIntegrationRequest> Inspector2Request.Builder
,SdkBuilder<CreateCodeSecurityIntegrationRequest.Builder,
,CreateCodeSecurityIntegrationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCodeSecurityIntegrationRequest
@Mutable
@NotThreadSafe
public static interface CreateCodeSecurityIntegrationRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<CreateCodeSecurityIntegrationRequest.Builder,CreateCodeSecurityIntegrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetails
(Consumer<CreateIntegrationDetail.Builder> details) The integration details specific to the repository provider type.details
(CreateIntegrationDetail details) The integration details specific to the repository provider type.The name of the code security integration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to apply to the code security integration.The type of repository provider for the integration.type
(IntegrationType type) The type of repository provider for the integration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
details
The integration details specific to the repository provider type.
- Parameters:
details
- The integration details specific to the repository provider type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
default CreateCodeSecurityIntegrationRequest.Builder details(Consumer<CreateIntegrationDetail.Builder> details) The integration details specific to the repository provider type.
This is a convenience method that creates an instance of theCreateIntegrationDetail.Builder
avoiding the need to create one manually viaCreateIntegrationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(CreateIntegrationDetail)
.- Parameters:
details
- a consumer that will call methods onCreateIntegrationDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the code security integration.
- Parameters:
name
- The name of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the code security integration.
- Parameters:
tags
- The tags to apply to the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of repository provider for the integration.
- Parameters:
type
- The type of repository provider for the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of repository provider for the integration.
- Parameters:
type
- The type of repository provider for the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCodeSecurityIntegrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCodeSecurityIntegrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-