Class CreateSyncConfigurationRequest

    • Method Detail

      • branch

        public final String branch()

        The branch in the repository from which changes will be synced.

        Returns:
        The branch in the repository from which changes will be synced.
      • configFile

        public final 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.

        Returns:
        The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
      • repositoryLinkId

        public final 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.

        Returns:
        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.
      • resourceName

        public final 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.

        Returns:
        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.
      • roleArn

        public final 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.

        Returns:
        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.
      • publishDeploymentStatusAsString

        public final String publishDeploymentStatusAsString()

        Whether to enable or disable publishing of deployment status to source providers.

        If the service returns an enum value that is not available in the current SDK version, publishDeploymentStatus will return PublishDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from publishDeploymentStatusAsString().

        Returns:
        Whether to enable or disable publishing of deployment status to source providers.
        See Also:
        PublishDeploymentStatus
      • pullRequestComment

        public final PullRequestComment pullRequestComment()

        A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

        If the service returns an enum value that is not available in the current SDK version, pullRequestComment will return PullRequestComment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from pullRequestCommentAsString().

        Returns:
        A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
        See Also:
        PullRequestComment
      • pullRequestCommentAsString

        public final String pullRequestCommentAsString()

        A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

        If the service returns an enum value that is not available in the current SDK version, pullRequestComment will return PullRequestComment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from pullRequestCommentAsString().

        Returns:
        A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
        See Also:
        PullRequestComment
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object