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
- the value to be set.- Returns:
this
-
github
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder github(CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty github) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGithub()
- Parameters:
github
- the value to be set.- Returns:
this
-
gitlabSelfManaged
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder gitlabSelfManaged(IResolvable gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()
- Parameters:
gitlabSelfManaged
- the value to be set.- Returns:
this
-
gitlabSelfManaged
@Stability(Stable) public CfnCodeSecurityIntegration.UpdateDetailsProperty.Builder gitlabSelfManaged(CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty gitlabSelfManaged) Sets the value ofCfnCodeSecurityIntegration.UpdateDetailsProperty.getGitlabSelfManaged()
- Parameters:
gitlabSelfManaged
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCodeSecurityIntegration.UpdateDetailsProperty>
- Returns:
- a new instance of
CfnCodeSecurityIntegration.UpdateDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-