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 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

      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

      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

      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

      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

      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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.