Class CfnSyncConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codestarconnections.CfnSyncConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSyncConfigurationMixinProps>
- Enclosing interface:
CfnSyncConfigurationMixinProps
@Stability(Stable)
public static final class CfnSyncConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSyncConfigurationMixinProps>
A builder for
CfnSyncConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSyncConfigurationMixinProps.getBranch()build()Builds the configured instance.configFile(String configFile) Sets the value ofCfnSyncConfigurationMixinProps.getConfigFile()publishDeploymentStatus(String publishDeploymentStatus) Sets the value ofCfnSyncConfigurationMixinProps.getPublishDeploymentStatus()repositoryLinkId(String repositoryLinkId) Sets the value ofCfnSyncConfigurationMixinProps.getRepositoryLinkId()resourceName(String resourceName) Sets the value ofCfnSyncConfigurationMixinProps.getResourceName()Sets the value ofCfnSyncConfigurationMixinProps.getRoleArn()Sets the value ofCfnSyncConfigurationMixinProps.getSyncType()triggerResourceUpdateOn(String triggerResourceUpdateOn) Sets the value ofCfnSyncConfigurationMixinProps.getTriggerResourceUpdateOn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branch
Sets the value ofCfnSyncConfigurationMixinProps.getBranch()- Parameters:
branch- The branch associated with a specific sync configuration.- Returns:
this
-
configFile
Sets the value ofCfnSyncConfigurationMixinProps.getConfigFile()- Parameters:
configFile- The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.- Returns:
this
-
publishDeploymentStatus
@Stability(Stable) public CfnSyncConfigurationMixinProps.Builder publishDeploymentStatus(String publishDeploymentStatus) Sets the value ofCfnSyncConfigurationMixinProps.getPublishDeploymentStatus()- Parameters:
publishDeploymentStatus- Whether to enable or disable publishing of deployment status to source providers.- Returns:
this
-
repositoryLinkId
@Stability(Stable) public CfnSyncConfigurationMixinProps.Builder repositoryLinkId(String repositoryLinkId) Sets the value ofCfnSyncConfigurationMixinProps.getRepositoryLinkId()- Parameters:
repositoryLinkId- The ID of the repository link associated with a specific sync configuration.- Returns:
this
-
resourceName
Sets the value ofCfnSyncConfigurationMixinProps.getResourceName()- Parameters:
resourceName- The name of the connection resource associated with a specific sync configuration.- Returns:
this
-
roleArn
Sets the value ofCfnSyncConfigurationMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.- Returns:
this
-
syncType
Sets the value ofCfnSyncConfigurationMixinProps.getSyncType()- Parameters:
syncType- The type of sync for a specific sync configuration.- Returns:
this
-
triggerResourceUpdateOn
@Stability(Stable) public CfnSyncConfigurationMixinProps.Builder triggerResourceUpdateOn(String triggerResourceUpdateOn) Sets the value ofCfnSyncConfigurationMixinProps.getTriggerResourceUpdateOn()- Parameters:
triggerResourceUpdateOn- When to trigger Git sync to begin the stack update.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSyncConfigurationMixinProps>- Returns:
- a new instance of
CfnSyncConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-