code: public void marshall(UpdateBranchRequest updateBranchRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateBranchRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateBranchRequest.getAppId(), APPID_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getBranchName(), BRANCHNAME_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getFramework(), FRAMEWORK_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getStage(), STAGE_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getEnableNotification(), ENABLENOTIFICATION_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getEnableAutoBuild(), ENABLEAUTOBUILD_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getEnvironmentVariables(), ENVIRONMENTVARIABLES_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getBasicAuthCredentials(), BASICAUTHCREDENTIALS_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getEnableBasicAuth(), ENABLEBASICAUTH_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getBuildSpec(), BUILDSPEC_BINDING);
              protocolMarshaller.marshall(updateBranchRequest.getTtl(), TTL_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.