Class CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSecurityIntegration.UpdateDetailsProperty>
- Enclosing interface:
CfnCodeSecurityIntegration.UpdateDetailsProperty
@Stability(Stable)
public static final class CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSecurityIntegration.UpdateDetailsProperty>
A builder for
CfnCodeSecurityIntegration.UpdateDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.github(IResolvable github) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGithub()Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGithub()gitlabSelfManaged(IResolvable gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()gitlabSelfManaged(CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
github
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder github(IResolvable github) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGithub()- Parameters:
github- Details specific to updating an integration with GitHub.- Returns:
this
-
github
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder github(CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty github) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGithub()- Parameters:
github- Details specific to updating an integration with GitHub.- Returns:
this
-
gitlabSelfManaged
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder gitlabSelfManaged(IResolvable gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()- Parameters:
gitlabSelfManaged- Details specific to updating an integration with a self-managed GitLab instance.- Returns:
this
-
gitlabSelfManaged
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder gitlabSelfManaged(CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()- Parameters:
gitlabSelfManaged- Details specific to updating an integration with a self-managed GitLab instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeSecurityIntegration.UpdateDetailsProperty>- Returns:
- a new instance of
CfnCodeSecurityIntegration.UpdateDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-