Interface CreateSyncConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeConnectionsRequest.Builder
,CopyableBuilder<CreateSyncConfigurationRequest.Builder,
,CreateSyncConfigurationRequest> SdkBuilder<CreateSyncConfigurationRequest.Builder,
,CreateSyncConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSyncConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe branch in the repository from which changes will be synced.configFile
(String configFile) The file name of the configuration file that manages syncing between the connection and the repository.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publishDeploymentStatus
(String publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.publishDeploymentStatus
(PublishDeploymentStatus publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.repositoryLinkId
(String repositoryLinkId) The ID of the repository link created for the connection.resourceName
(String resourceName) The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.The type of sync configuration.syncType
(SyncConfigurationType syncType) The type of sync configuration.triggerResourceUpdateOn
(String triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.triggerResourceUpdateOn
(TriggerResourceUpdateOn triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
branch
The branch in the repository from which changes will be synced.
- Parameters:
branch
- The branch in the repository from which changes will be synced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configFile
The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
- Parameters:
configFile
- The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryLinkId
The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
- Parameters:
repositoryLinkId
- The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
- Parameters:
resourceName
- The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
- Parameters:
roleArn
- The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncType
The type of sync configuration.
- Parameters:
syncType
- The type of sync configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
syncType
The type of sync configuration.
- Parameters:
syncType
- The type of sync configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publishDeploymentStatus
CreateSyncConfigurationRequest.Builder publishDeploymentStatus(PublishDeploymentStatus 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerResourceUpdateOn
When to trigger Git sync to begin the stack update.
- Parameters:
triggerResourceUpdateOn
- When to trigger Git sync to begin the stack update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerResourceUpdateOn
CreateSyncConfigurationRequest.Builder triggerResourceUpdateOn(TriggerResourceUpdateOn triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.
- Parameters:
triggerResourceUpdateOn
- When to trigger Git sync to begin the stack update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSyncConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSyncConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-