Class CfnCodeSecurityIntegrationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.inspectorv2.CfnCodeSecurityIntegrationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSecurityIntegrationMixinProps>
- Enclosing interface:
CfnCodeSecurityIntegrationMixinProps
@Stability(Stable)
public static final class CfnCodeSecurityIntegrationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSecurityIntegrationMixinProps>
A builder for
CfnCodeSecurityIntegrationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createIntegrationDetails(CfnCodeSecurityIntegrationPropsMixin.CreateDetailsProperty createIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getCreateIntegrationDetails()createIntegrationDetails(IResolvable createIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getCreateIntegrationDetails()Sets the value ofCfnCodeSecurityIntegrationMixinProps.getName()Sets the value ofCfnCodeSecurityIntegrationMixinProps.getTags()Sets the value ofCfnCodeSecurityIntegrationMixinProps.getType()updateIntegrationDetails(CfnCodeSecurityIntegrationPropsMixin.UpdateDetailsProperty updateIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getUpdateIntegrationDetails()updateIntegrationDetails(IResolvable updateIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getUpdateIntegrationDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createIntegrationDetails
@Stability(Stable) public CfnCodeSecurityIntegrationMixinProps.Builder createIntegrationDetails(IResolvable createIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getCreateIntegrationDetails()- Parameters:
createIntegrationDetails- Contains details required to create a code security integration with a specific repository provider.- Returns:
this
-
createIntegrationDetails
@Stability(Stable) public CfnCodeSecurityIntegrationMixinProps.Builder createIntegrationDetails(CfnCodeSecurityIntegrationPropsMixin.CreateDetailsProperty createIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getCreateIntegrationDetails()- Parameters:
createIntegrationDetails- Contains details required to create a code security integration with a specific repository provider.- Returns:
this
-
name
Sets the value ofCfnCodeSecurityIntegrationMixinProps.getName()- Parameters:
name- The name of the code security integration.- Returns:
this
-
tags
@Stability(Stable) public CfnCodeSecurityIntegrationMixinProps.Builder tags(Map<String, String> tags) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getTags()- Parameters:
tags- The tags to apply to the code security integration.- Returns:
this
-
type
Sets the value ofCfnCodeSecurityIntegrationMixinProps.getType()- Parameters:
type- The type of repository provider for the integration.- Returns:
this
-
updateIntegrationDetails
@Stability(Stable) public CfnCodeSecurityIntegrationMixinProps.Builder updateIntegrationDetails(IResolvable updateIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getUpdateIntegrationDetails()- Parameters:
updateIntegrationDetails- The updated integration details specific to the repository provider type.- Returns:
this
-
updateIntegrationDetails
@Stability(Stable) public CfnCodeSecurityIntegrationMixinProps.Builder updateIntegrationDetails(CfnCodeSecurityIntegrationPropsMixin.UpdateDetailsProperty updateIntegrationDetails) Sets the value ofCfnCodeSecurityIntegrationMixinProps.getUpdateIntegrationDetails()- Parameters:
updateIntegrationDetails- The updated integration details specific to the repository provider type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeSecurityIntegrationMixinProps>- Returns:
- a new instance of
CfnCodeSecurityIntegrationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-