Interface CreateSyncConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeStarConnectionsRequest.Builder,CopyableBuilder<CreateSyncConfigurationRequest.Builder,CreateSyncConfigurationRequest>,SdkBuilder<CreateSyncConfigurationRequest.Builder,CreateSyncConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSyncConfigurationRequest
public static interface CreateSyncConfigurationRequest.Builder extends CodeStarConnectionsRequest.Builder, SdkPojo, CopyableBuilder<CreateSyncConfigurationRequest.Builder,CreateSyncConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSyncConfigurationRequest.Builderbranch(String branch)The branch in the repository from which changes will be synced.CreateSyncConfigurationRequest.BuilderconfigFile(String configFile)The file name of the configuration file that manages syncing between the connection and the repository.CreateSyncConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSyncConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSyncConfigurationRequest.BuilderpublishDeploymentStatus(String publishDeploymentStatus)Whether to enable or disable publishing of deployment status to source providers.CreateSyncConfigurationRequest.BuilderpublishDeploymentStatus(PublishDeploymentStatus publishDeploymentStatus)Whether to enable or disable publishing of deployment status to source providers.CreateSyncConfigurationRequest.BuilderrepositoryLinkId(String repositoryLinkId)The ID of the repository link created for the connection.CreateSyncConfigurationRequest.BuilderresourceName(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.CreateSyncConfigurationRequest.BuilderroleArn(String 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.CreateSyncConfigurationRequest.BuildersyncType(String syncType)The type of sync configuration.CreateSyncConfigurationRequest.BuildersyncType(SyncConfigurationType syncType)The type of sync configuration.CreateSyncConfigurationRequest.BuildertriggerResourceUpdateOn(String triggerResourceUpdateOn)When to trigger Git sync to begin the stack update.CreateSyncConfigurationRequest.BuildertriggerResourceUpdateOn(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.codestarconnections.model.CodeStarConnectionsRequest.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
branch
CreateSyncConfigurationRequest.Builder branch(String 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
CreateSyncConfigurationRequest.Builder configFile(String 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
CreateSyncConfigurationRequest.Builder repositoryLinkId(String 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
CreateSyncConfigurationRequest.Builder 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.
- 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
CreateSyncConfigurationRequest.Builder roleArn(String 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
CreateSyncConfigurationRequest.Builder syncType(String 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:
SyncConfigurationType,SyncConfigurationType
-
syncType
CreateSyncConfigurationRequest.Builder syncType(SyncConfigurationType 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:
SyncConfigurationType,SyncConfigurationType
-
publishDeploymentStatus
CreateSyncConfigurationRequest.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PublishDeploymentStatus,PublishDeploymentStatus
-
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:
PublishDeploymentStatus,PublishDeploymentStatus
-
triggerResourceUpdateOn
CreateSyncConfigurationRequest.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TriggerResourceUpdateOn,TriggerResourceUpdateOn
-
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:
TriggerResourceUpdateOn,TriggerResourceUpdateOn
-
overrideConfiguration
CreateSyncConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSyncConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-