Class CfnSyncConfigurationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codestarconnections.CfnSyncConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSyncConfigurationPropsMixin>
- Enclosing class:
CfnSyncConfigurationPropsMixin
@Stability(Stable)
public static final class CfnSyncConfigurationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSyncConfigurationPropsMixin>
A fluent builder for
CfnSyncConfigurationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe branch associated with a specific sync configuration.build()configFile(String configFile) The file path to the configuration file associated with a specific sync configuration.create()create(CfnPropertyMixinOptions options) publishDeploymentStatus(String publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.repositoryLinkId(String repositoryLinkId) The ID of the repository link associated with a specific sync configuration.resourceName(String resourceName) The name of the connection resource associated with a specific sync configuration.The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.The type of sync for a specific sync configuration.triggerResourceUpdateOn(String triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.
-
Method Details
-
create
@Stability(Stable) public static CfnSyncConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSyncConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSyncConfigurationPropsMixin.Builder.
-
branch
The branch associated with a specific sync configuration.- Parameters:
branch- The branch associated with a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
configFile- The file path to the configuration file associated with a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
publishDeploymentStatus
@Stability(Stable) public CfnSyncConfigurationPropsMixin.Builder publishDeploymentStatus(String publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.- Parameters:
publishDeploymentStatus- Whether to enable or disable publishing of deployment status to source providers. This parameter is required.- Returns:
this- See Also:
-
repositoryLinkId
@Stability(Stable) public CfnSyncConfigurationPropsMixin.Builder repositoryLinkId(String repositoryLinkId) The ID of the repository link associated with a specific sync configuration.- Parameters:
repositoryLinkId- The ID of the repository link associated with a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
resourceName
The name of the connection resource associated with a specific sync configuration.- Parameters:
resourceName- The name of the connection resource associated with a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
syncType
The type of sync for a specific sync configuration.- Parameters:
syncType- The type of sync for a specific sync configuration. This parameter is required.- Returns:
this- See Also:
-
triggerResourceUpdateOn
@Stability(Stable) public CfnSyncConfigurationPropsMixin.Builder triggerResourceUpdateOn(String triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.- Parameters:
triggerResourceUpdateOn- When to trigger Git sync to begin the stack update. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSyncConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnSyncConfigurationPropsMixin.
-