Build and wait for completion
Thebuild method builds the template and waits for the build to complete. It returns build information including the template ID and build ID.
Build in background
ThebuildInBackground method starts the build process and returns immediately without waiting for completion. This is useful when you want to trigger a build and check its status later.
Check build status
UsegetBuildStatus to check the status of a build started with buildInBackground.