Interface CreateSyncConfigurationRequest.Builder

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